Class RoleEnumBase
- Namespace
- SWConfigDataClientLib.Proxies.Security
- Assembly
- IpPbxCDSClientLib.dll
<CDSClientLib.EnumBaseSummary>
public abstract class RoleEnumBase : SWCFEnum<RoleEnumClient, IRoleEnum>, SEnum
- Inheritance
-
SWCFProxy<RoleEnumClient, IRoleEnum>SWCFEnum<RoleEnumClient, IRoleEnum>RoleEnumBase
- Implements
- Derived
Remarks
Thread Safety: safe
Constructors
RoleEnumBase(LibManager)
Create instance of RoleEnumBase.
public RoleEnumBase(LibManager libManager)
Parameters
libManager
LibManager
Remarks
The connection will be established by the first remote call.
Fields
ClassTrace
protected static STraceInfo ClassTrace
Field Value
- STraceInfo
_OrderByList
protected static OrderByList _OrderByList
Field Value
objectList
The collection of primary config items
protected RolePrimaryCollection objectList
Field Value
Properties
PrimaryCollection
public virtual RolePrimaryCollection PrimaryCollection { get; }
Property Value
Remarks
Thread Safety: safe
Methods
Clear()
Removes all items from collection. The removed item list will be cleared also.
public override void Clear()
Remarks
Thread Safety: safe
Count()
Return count of items in collection.
public override int Count()
Returns
Remarks
Thread Safety: safe
GetCurrentObject()
Gets the current RoleEnumBase.
public virtual RoleEntry GetCurrentObject()
Returns
- RoleEntry
The current RoleEnumBase.
Remarks
Thread Safety: safe
GetCustomExistingEntry(TRoleEntry)
protected virtual RoleEntry GetCustomExistingEntry(TRoleEnum.TRoleEntry tEntry)
Parameters
tEntry
TRoleEnum.TRoleEntry
Returns
Remarks
Thread Safety: safe
GetExistingEntry(TRoleEntry)
protected virtual RoleEntry GetExistingEntry(TRoleEnum.TRoleEntry tEntry)
Parameters
tEntry
TRoleEnum.TRoleEntry
Returns
Remarks
Thread Safety: safe
GetObjectByPrimaryKey(int)
Gets the item identified by the primary key from this collection.
Element of primary key.public virtual RoleEntry GetObjectByPrimaryKey(int RoleID)
Parameters
RoleID
int
Returns
Remarks
Thread Safety: safe
GetOrderByList()
Gets a list of all possible sorting elements.
public virtual OrderByList GetOrderByList()
Returns
- OrderByList
The object OrderByList containing all possible sorting elements.
Remarks
Thread Safety: safe
Reload()
Reloads all entries of the enum. This Methods drops all changes. On greater enumerations this method will be definitly inperformant. All items must exist in database
public virtual void Reload()
Remarks
Thread Safety: safe
Update()
Make all changes peristent. This Methods inserts, deletes and updates items in the database
public virtual void Update()
Remarks
Thread Safety: safe