Class RolePrimaryCollection
- Namespace
- SWConfigDataClientLib.Proxies.Security
- Assembly
- IpPbxCDSClientLib.dll
Collection of primary configuration items. The primary configuration item is RoleEntry. This class is generated.
[DefaultMember("Item")]
public class RolePrimaryCollection : SArrayList
- Inheritance
-
RolePrimaryCollection
- Inherited Members
Remarks
Thread Safety: safe
Constructors
RolePrimaryCollection()
standard constructor
public RolePrimaryCollection()
Fields
ClassTrace
protected static STraceInfo ClassTrace
Field Value
- STraceInfo
Properties
this[int]
Get the item per index
public virtual RoleEntry this[int Index] { get; set; }
Parameters
Index
int
Property Value
- RoleEntry
RoleEntryBase
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(RoleEntry)
Adds the item to the collection.
public virtual void Add(RoleEntry entry)
Parameters
entry
RoleEntryEntry to be added.
Remarks
The item will not be stored in database directly. To effect the database use the method update() of RoleEnum.
Add(RolePrimaryCollection)
Adds the item to the collection.
public virtual void Add(RolePrimaryCollection Collection)
Parameters
Collection
RolePrimaryCollection
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 RoleID)
Parameters
RoleID
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 RoleEntrySortableCollection CreateSortableFilterCollection()
Returns
- RoleEntrySortableCollection
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 RoleEntry GetObjectByPrimaryKey(int RoleID)
Parameters
RoleID
int
Returns
- RoleEntry
Entry
Remarks
Thread Safety: safe
Remove(RoleEntry)
Removes the item from the collection.
public virtual void Remove(RoleEntry entry)
Parameters
entry
RoleEntryEntry to be removed.
Remarks
The item will not be deleted in database directly. To effect the database use update(true) of .