Class UserEnumBase
- Namespace
- SWConfigDataClientLib.Proxies.Users
- Assembly
- IpPbxCDSClientLib.dll
<CDSClientLib.EnumBaseSummary>
public abstract class UserEnumBase : SWCFEnum<UserEnumClient, IUserEnum>, SEnum
- Inheritance
-
SWCFProxy<UserEnumClient, IUserEnum>SWCFEnum<UserEnumClient, IUserEnum>UserEnumBase
- Implements
- Derived
Remarks
Thread Safety: safe
Constructors
UserEnumBase(LibManager)
Create instance of UserEnumBase.
public UserEnumBase(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 UserPrimaryCollection objectList
Field Value
Properties
PrimaryCollection
public virtual UserPrimaryCollection 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 UserEnumBase.
public virtual UserEntry GetCurrentObject()
Returns
- UserEntry
The current UserEnumBase.
Remarks
Thread Safety: safe
GetCustomExistingEntry(TUserEntry)
protected virtual UserEntry GetCustomExistingEntry(TUserEnum.TUserEntry tEntry)
Parameters
tEntry
TUserEnum.TUserEntry
Returns
Remarks
Thread Safety: safe
GetExistingEntry(TUserEntry)
protected virtual UserEntry GetExistingEntry(TUserEnum.TUserEntry tEntry)
Parameters
tEntry
TUserEnum.TUserEntry
Returns
Remarks
Thread Safety: safe
GetObjectByPrimaryKey(int)
Gets the item identified by the primary key from this collection.
Element of primary key.public virtual UserEntry GetObjectByPrimaryKey(int UserID)
Parameters
UserID
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
getValueLists(ValueLists)
Retrieves the requested Valuelists from the server.
public virtual ValueListCollection getValueLists(ValueLists valueLists)
Parameters
valueLists
ValueListsThe ValueLists to be retrieved.
Returns
- ValueListCollection
A ValueListCollection
Remarks
Thread Safety: safe