Class PhoneControllerPrimaryCollection
- Namespace
- SWConfigDataClientLib.Proxies.Admin
- Assembly
- IpPbxCDSClientLib.dll
Collection of primary configuration items. The primary configuration item is PhoneControllerEntry. This class is generated.
[DefaultMember("Item")]
public class PhoneControllerPrimaryCollection : SArrayListFacade
- Inheritance
-
PhoneControllerPrimaryCollection
- Inherited Members
Constructors
PhoneControllerPrimaryCollection()
standard constructor
public PhoneControllerPrimaryCollection()
PhoneControllerPrimaryCollection(bool)
public PhoneControllerPrimaryCollection(bool sync)
Parameters
sync
bool
Fields
ClassTrace
protected static STraceInfo ClassTrace
Field Value
- STraceInfo
Properties
this[int]
Get the item per index
public virtual PhoneControllerEntry this[int Index] { get; set; }
Parameters
Index
int
Property Value
- PhoneControllerEntry
PhoneControllerEntry
ProxyNumber
protected virtual long ProxyNumber { get; }
Property Value
Valid
True if is valid data object
public virtual bool Valid { get; }
Property Value
Methods
Add(PhoneControllerEntry)
Adds the item to the collection.
public virtual void Add(PhoneControllerEntry entry)
Parameters
entry
PhoneControllerEntryEntry to be added.
Remarks
The item will not be stored in database directly. To effect the database use the method update() of PhoneControllerFacade.
Add(PhoneControllerPrimaryCollection)
Adds the item to the collection.
public virtual void Add(PhoneControllerPrimaryCollection Collection)
Parameters
Collection
PhoneControllerPrimaryCollection
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 PhoneControllerID)
Parameters
PhoneControllerID
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 PhoneControllerEntrySortableCollection CreateSortableFilterCollection()
Returns
- PhoneControllerEntrySortableCollection
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 PhoneControllerEntry GetObjectByPrimaryKey(int PhoneControllerID)
Parameters
PhoneControllerID
int
Returns
- PhoneControllerEntry
Entry
Remove(PhoneControllerEntry)
Removes the item from the collection.
public virtual void Remove(PhoneControllerEntry entry)
Parameters
entry
PhoneControllerEntryEntry to be removed.
Remarks
The item will not be deleted in database directly. To effect the database use update(true) of .