Class GroupPrimaryCollection
- Namespace
- SWConfigDataClientLib.Proxies.Groups
- Assembly
- IpPbxCDSClientLib.dll
Collection of primary configuration items. The primary configuration item is GroupEntry. This class is generated.
[DefaultMember("Item")]
public class GroupPrimaryCollection : SArrayList
- Inheritance
-
GroupPrimaryCollection
- Inherited Members
Remarks
Thread Safety: safe
Constructors
GroupPrimaryCollection()
standard constructor
public GroupPrimaryCollection()
Fields
ClassTrace
protected static STraceInfo ClassTrace
Field Value
- STraceInfo
Properties
this[int]
Get the item per index
public virtual GroupEntry this[int Index] { get; set; }
Parameters
Index
int
Property Value
- GroupEntry
GroupEntryBase
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(GroupEntry)
Adds the item to the collection.
public virtual void Add(GroupEntry entry)
Parameters
entry
GroupEntryEntry to be added.
Remarks
The item will not be stored in database directly. To effect the database use the method update() of GroupEnum.
Add(GroupPrimaryCollection)
Adds the item to the collection.
public virtual void Add(GroupPrimaryCollection Collection)
Parameters
Collection
GroupPrimaryCollection
Remarks
The item will not be stored in database. To effect the database use members of .
ContainsEntryInLocalCollectionByName(string)
Checks is the item with Name = key in collection.
public virtual bool ContainsEntryInLocalCollectionByName(string key)
Parameters
key
stringName
Returns
- bool
Returns true if collection contains item with the given key.
Remarks
Thread Safety: safe
ContainsObjectByPrimaryKey(int)
Checks if the item, identified by the primary key, is in this collection.
Element of primary key.public virtual bool ContainsObjectByPrimaryKey(int GroupID)
Parameters
GroupID
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 GroupEntrySortableCollection CreateSortableFilterCollection()
Returns
- GroupEntrySortableCollection
Sortable collection with optional filter methods.
Remarks
Thread Safety: safe
GetEntryFromLocalCollectionByName(string)
Retrieves the item with Name = key from this collection.
public virtual GroupEntry GetEntryFromLocalCollectionByName(string key)
Parameters
key
stringName
Returns
- GroupEntry
Entry from collection
Remarks
Thread Safety: safe
Exceptions
- Exception
Will be thrown if item is not in collection.
GetObjectByPrimaryKey(int)
Gets the item identified by the primary key from this collection.
Primary key of item.public virtual GroupEntry GetObjectByPrimaryKey(int GroupID)
Parameters
GroupID
int
Returns
- GroupEntry
Entry
Remarks
Thread Safety: safe
Remove(GroupEntry)
Removes the item from the collection.
public virtual void Remove(GroupEntry entry)
Parameters
entry
GroupEntryEntry to be removed.
Remarks
The item will not be deleted in database directly. To effect the database use update(true) of .