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