Class InternalNumberEntryBase
- Namespace
- SWConfigDataClientLib.Proxies.InternalNumbers
- Assembly
- IpPbxCDSClientLib.dll
<CDSClientLib.EntryBaseSummary>
public class InternalNumberEntryBase : SUpdateObject
- Inheritance
-
InternalNumberEntryBase
- Derived
- Inherited Members
Remarks
Thread Safety: safe
Constructors
InternalNumberEntryBase()
public InternalNumberEntryBase()
Fields
ClassTrace
protected static STraceInfo ClassTrace
Field Value
- STraceInfo
Properties
GroupID
public virtual int GroupID { get; set; }
Property Value
Remarks
Thread Safety: safe
Hide
public virtual bool Hide { get; set; }
Property Value
Remarks
Thread Safety: safe
InternalNumberID
public virtual int InternalNumberID { get; }
Property Value
Remarks
Thread Safety: safe
IsFaxNumber
public virtual bool IsFaxNumber { get; set; }
Property Value
Remarks
Thread Safety: safe
IsGroupIDNull
Returns true if the item attribute has Null value (DBNull).
public virtual bool IsGroupIDNull { get; }
Property Value
Remarks
Thread Safety: safe
IsHideNull
Returns true if the item attribute has Null value (DBNull).
public virtual bool IsHideNull { get; }
Property Value
Remarks
Thread Safety: safe
IsInternalNumberIDNull
Returns true if the item attribute has Null value (DBNull).
public virtual bool IsInternalNumberIDNull { get; }
Property Value
Remarks
Thread Safety: safe
IsIsFaxNumberNull
Returns true if the item attribute has Null value (DBNull).
public virtual bool IsIsFaxNumberNull { get; }
Property Value
Remarks
Thread Safety: safe
IsNumberNull
Returns true if the item attribute has Null value (DBNull).
public virtual bool IsNumberNull { get; }
Property Value
Remarks
Thread Safety: safe
IsPinNull
Returns true if the item attribute has Null value (DBNull).
public virtual bool IsPinNull { get; }
Property Value
Remarks
Thread Safety: safe
IsUserIDNull
Returns true if the item attribute has Null value (DBNull).
public virtual bool IsUserIDNull { get; }
Property Value
Remarks
Thread Safety: safe
Number
(Max length is 30.)
public virtual string Number { get; set; }
Property Value
Remarks
Thread Safety: safe
Pin
public virtual byte[] Pin { get; set; }
Property Value
- byte[]
Remarks
Thread Safety: safe
ProxyNumber
protected virtual long ProxyNumber { get; }
Property Value
PublicNumberEntryCollection
Collection of simple configuration items. (PublicNumberEntry)
public virtual PublicNumberEntryCollection PublicNumberEntryCollection { get; }
Property Value
Remarks
Thread Safety: safe
UserID
public virtual int UserID { get; set; }
Property Value
Remarks
Thread Safety: safe
Methods
ApplyData(InternalNumberEntry)
Applies all data from the Entry object item.
public virtual void ApplyData(InternalNumberEntry entry)
Parameters
entry
InternalNumberEntry
Remarks
Thread Safety: safe
Clone()
Clones the Entry item. The cloned entry is unattached and can not be used for updating.
public virtual InternalNumberEntry Clone()
Returns
- InternalNumberEntry
Cloned entry of type InternalNumberEntryBase.
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
SetGroupIDNull()
Set item attribute to Null value (DBNull).
public virtual void SetGroupIDNull()
Remarks
Thread Safety: safe
SetPinNull()
Set item attribute to Null value (DBNull).
public virtual void SetPinNull()
Remarks
Thread Safety: safe
SetUserIDNull()
Set item attribute to Null value (DBNull).
public virtual void SetUserIDNull()
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