Class FirmwareEntryBase
- Namespace
- SWConfigDataClientLib.Proxies.Firmware
- Assembly
- IpPbxCDSClientLib.dll
<CDSClientLib.EntryBaseSummary>
public class FirmwareEntryBase : SUpdateObject
- Inheritance
-
FirmwareEntryBase
- Derived
- Inherited Members
Remarks
Thread Safety: safe
Constructors
FirmwareEntryBase()
public FirmwareEntryBase()
Fields
ClassTrace
protected static STraceInfo ClassTrace
Field Value
- STraceInfo
Properties
Enabled
public virtual bool Enabled { get; set; }
Property Value
Remarks
Thread Safety: safe
EntryID
public virtual int EntryID { get; }
Property Value
Remarks
Thread Safety: safe
FirmwareFile
(Max length is 256.)
public virtual string FirmwareFile { get; set; }
Property Value
Remarks
Thread Safety: safe
FirmwareVersion
(Max length is 16.)
public virtual string FirmwareVersion { get; set; }
Property Value
Remarks
Thread Safety: safe
IsEnabledNull
Returns true if the item attribute has Null value (DBNull).
public virtual bool IsEnabledNull { get; }
Property Value
Remarks
Thread Safety: safe
IsEntryIDNull
Returns true if the item attribute has Null value (DBNull).
public virtual bool IsEntryIDNull { get; }
Property Value
Remarks
Thread Safety: safe
IsFirmwareFileNull
Returns true if the item attribute has Null value (DBNull).
public virtual bool IsFirmwareFileNull { get; }
Property Value
Remarks
Thread Safety: safe
IsFirmwareVersionNull
Returns true if the item attribute has Null value (DBNull).
public virtual bool IsFirmwareVersionNull { get; }
Property Value
Remarks
Thread Safety: safe
IsPhoneIDNull
Returns true if the item attribute has Null value (DBNull).
public virtual bool IsPhoneIDNull { get; }
Property Value
Remarks
Thread Safety: safe
PhoneID
(Max length is 60.)
public virtual string PhoneID { get; set; }
Property Value
Remarks
Thread Safety: safe
ProxyNumber
protected virtual long ProxyNumber { get; }
Property Value
Methods
ApplyData(FirmwareEntry)
Applies all data from the Entry object item.
public virtual void ApplyData(FirmwareEntry entry)
Parameters
entry
FirmwareEntry
Remarks
Thread Safety: safe
Clone()
Clones the Entry item. The cloned entry is unattached and can not be used for updating.
public virtual FirmwareEntry Clone()
Returns
- FirmwareEntry
Cloned entry of type FirmwareEntryBase.
Remarks
Thread Safety: safe
Dispose()
Dispose
public virtual void Dispose()
Remarks
Thread Safety: safe
SetDefaultValues()
Sets all item attributes to default value.
public virtual void SetDefaultValues()
Remarks
Thread Safety: safe
ToString()
Returns the string representation of the item.
public override string ToString()
Returns
- string
String representation of the item.
Remarks
Thread Safety: safe
Update(bool)
Update data. Retrieves current user data from database or stores them into the database.
public override void Update(bool validateAndSave)
Parameters
validateAndSave
boolif false retrieves data from database. If true save data to database. If the database operation failed the entry will be reinitiated from database.
Remarks
This is a remote method.
ValidateNotNullMembers()
Checks if all attributes have valid values. For example an unset attribtue which doesn't allow null value will cause an Exception.
public virtual void ValidateNotNullMembers()
Remarks
Thread Safety: safe
Verbose()
Returns a string containing alle item attributes. This method can be used for trcaing and debugging.
public virtual string Verbose()
Returns
- string
String containig all item attributes with names and values
Remarks
Thread Safety: safe