Class PhoneClientViewPrimaryCollection
- Namespace
- SWConfigDataClientLib.Proxies.PhoneClient
- Assembly
- IpPbxCDSClientLib.dll
Collection of primary configuration items. The primary configuration item is PhoneClientViewEntry. This class is generated.
[DefaultMember("Item")]
public class PhoneClientViewPrimaryCollection : SArrayListFacade
- Inheritance
-
PhoneClientViewPrimaryCollection
- Inherited Members
Constructors
PhoneClientViewPrimaryCollection()
standard constructor
public PhoneClientViewPrimaryCollection()
PhoneClientViewPrimaryCollection(bool)
public PhoneClientViewPrimaryCollection(bool sync)
Parameters
sync
bool
Fields
ClassTrace
protected static STraceInfo ClassTrace
Field Value
- STraceInfo
Properties
this[int]
Get the item per index
public virtual PhoneClientViewEntry this[int Index] { get; set; }
Parameters
Index
int
Property Value
- PhoneClientViewEntry
PhoneClientViewEntry
ProxyNumber
protected virtual long ProxyNumber { get; }
Property Value
Valid
True if is valid data object
public virtual bool Valid { get; }
Property Value
Methods
Add(PhoneClientViewEntry)
Adds the item to the collection.
public virtual void Add(PhoneClientViewEntry entry)
Parameters
entry
PhoneClientViewEntryEntry to be added.
Remarks
The item will not be stored in database directly. To effect the database use the method update() of PhoneClientViewFacade.
Add(PhoneClientViewPrimaryCollection)
Adds the item to the collection.
public virtual void Add(PhoneClientViewPrimaryCollection Collection)
Parameters
Collection
PhoneClientViewPrimaryCollection
Remarks
The item will not be stored in database. To effect the database use members of .
ContainsObjectByPrimaryKey(int)
Checks if the item, identified by the primary key, is in this collection.
Element of primary key.public virtual bool ContainsObjectByPrimaryKey(int UserID)
Parameters
UserID
int
Returns
- bool
True if entry is in collection, otherwise false.
CreateSortableFilterCollection()
Creates a sortable collection containing all current entries of this collection.
public virtual PhoneClientViewEntrySortableCollection CreateSortableFilterCollection()
Returns
- PhoneClientViewEntrySortableCollection
Sortable collection with optional filter methods.
GetObjectByPrimaryKey(int)
Gets the item identified by the primary key from this collection.
Primary key of item.public virtual PhoneClientViewEntry GetObjectByPrimaryKey(int UserID)
Parameters
UserID
int
Returns
- PhoneClientViewEntry
Entry
Remove(PhoneClientViewEntry)
Removes the item from the collection.
public virtual void Remove(PhoneClientViewEntry entry)
Parameters
entry
PhoneClientViewEntryEntry to be removed.
Remarks
The item will not be deleted in database directly. To effect the database use update(true) of .