Class UserPhoneBookPrimaryCollection
- Namespace
- SWConfigDataClientLib.Proxies.UserPhoneBook
- Assembly
- IpPbxCDSClientLib.dll
Collection of primary configuration items. The primary configuration item is UserPhoneBookEntry. This class is generated.
[DefaultMember("Item")]
public class UserPhoneBookPrimaryCollection : SArrayList
- Inheritance
-
UserPhoneBookPrimaryCollection
- Inherited Members
Remarks
Thread Safety: safe
Constructors
UserPhoneBookPrimaryCollection()
standard constructor
public UserPhoneBookPrimaryCollection()
Fields
ClassTrace
protected static STraceInfo ClassTrace
Field Value
- STraceInfo
Properties
this[int]
Get the item per index
public virtual UserPhoneBookEntry this[int Index] { get; set; }
Parameters
Index
int
Property Value
- UserPhoneBookEntry
UserPhoneBookEntryBase
Remarks
Thread Safety: safe
ProxyNumber
protected virtual long ProxyNumber { get; }
Property Value
Valid
True if is valid data object
public virtual bool Valid { get; }
Property Value
Remarks
Thread Safety: safe
Methods
Add(UserPhoneBookEntry)
Adds the item to the collection.
public virtual void Add(UserPhoneBookEntry entry)
Parameters
entry
UserPhoneBookEntryEntry to be added.
Remarks
The item will not be stored in database directly. To effect the database use the method update() of UserPhoneBookEnum.
Add(UserPhoneBookPrimaryCollection)
Adds the item to the collection.
public virtual void Add(UserPhoneBookPrimaryCollection Collection)
Parameters
Collection
UserPhoneBookPrimaryCollection
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 EntryID)
Parameters
EntryID
int
Returns
- bool
True if entry is in collection, otherwise false.
Remarks
Thread Safety: safe
CreateSortableFilterCollection()
Creates a sortable collection containing all current entries of this collection.
public virtual UserPhoneBookEntrySortableCollection CreateSortableFilterCollection()
Returns
- UserPhoneBookEntrySortableCollection
Sortable collection with optional filter methods.
Remarks
Thread Safety: safe
GetObjectByPrimaryKey(int)
Gets the item identified by the primary key from this collection.
Primary key of item.public virtual UserPhoneBookEntry GetObjectByPrimaryKey(int EntryID)
Parameters
EntryID
int
Returns
- UserPhoneBookEntry
Entry
Remarks
Thread Safety: safe
Remove(UserPhoneBookEntry)
Removes the item from the collection.
public virtual void Remove(UserPhoneBookEntry entry)
Parameters
entry
UserPhoneBookEntryEntry to be removed.
Remarks
The item will not be deleted in database directly. To effect the database use update(true) of .