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