Class MembershipEntryCollection
- Namespace
- SWConfigDataClientLib.Proxies.Users
- Assembly
- IpPbxCDSClientLib.dll
Collection of simple configuration items. The collenction is part of an updateable configuration item. The simple configuration item is MembershipEntry. The owning configuration item is UserEntry. For reading or writing this configuration items to database use methods of UserEntry. This class is generated.
[DefaultMember("Item")]
public class MembershipEntryCollection : SArrayList
- Inheritance
-
MembershipEntryCollection
- Inherited Members
Remarks
Thread Safety: safe
Constructors
MembershipEntryCollection()
public MembershipEntryCollection()
Fields
ClassTrace
protected static STraceInfo ClassTrace
Field Value
- STraceInfo
Properties
this[int]
Get the item per index
public virtual MembershipEntry this[int Index] { get; set; }
Parameters
Index
int
Property Value
- MembershipEntry
PhoneCallEntry
Remarks
Thread Safety: safe
ProxyNumber
protected virtual long ProxyNumber { get; }
Property Value
Methods
Add(MembershipEntry)
Adds the item to the collection.
public virtual void Add(MembershipEntry entry)
Parameters
entry
MembershipEntryEntry to be added.
Remarks
The item will not be stored in database directly. To effect the database use the method update() of MembershipEnum.
ContainsObjectByPrimaryKey(int, int)
Checks if the item, identified by the primary key, is in this collection.
Element of primary key. Element of primary key.public virtual bool ContainsObjectByPrimaryKey(int UserID, int GroupID)
Parameters
Returns
- bool
True if entry is in collection, otherwise false.
Remarks
Thread Safety: safe
CopyFrom(MembershipEntryCollection)
Copies the given collection into this collection by cloning its items.
public virtual void CopyFrom(MembershipEntryCollection sourceCol)
Parameters
sourceCol
MembershipEntryCollectionThe source collection.
Remarks
Thread Safety: safe
CreateSortableFilterCollection()
Creates a sortable collection containing all current entries of this collection.
public virtual MembershipEntrySortableCollection CreateSortableFilterCollection()
Returns
- MembershipEntrySortableCollection
Sortable collection with optional filter methods.
Remarks
Thread Safety: safe
Dispose()
Dispose
public virtual void Dispose()
Remarks
Thread Safety: safe
GetObjectByPrimaryKey(int, int)
Gets the item identified by the primary key from this collection.
Primary key of item. Primary key of item.public virtual MembershipEntry GetObjectByPrimaryKey(int UserID, int GroupID)
Parameters
Returns
- MembershipEntry
Entry
Remarks
Thread Safety: safe
Remove(MembershipEntry)
Removes the item from the collection. And marks it as deleted.
public virtual void Remove(MembershipEntry entry)
Parameters
entry
MembershipEntryEntry to be removed.
Remarks
The item will not be deleted in database directly. To effect the database use update() of MembershipEnum.