Class UserSituationEntryCollection
- 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 UserSituationEntry. 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 UserSituationEntryCollection : SArrayList
- Inheritance
-
UserSituationEntryCollection
- Inherited Members
Remarks
Thread Safety: safe
Constructors
UserSituationEntryCollection()
public UserSituationEntryCollection()
Fields
ClassTrace
protected static STraceInfo ClassTrace
Field Value
- STraceInfo
Properties
this[int]
Get the item per index
public virtual UserSituationEntry this[int Index] { get; set; }
Parameters
Index
int
Property Value
- UserSituationEntry
PhoneCallEntry
Remarks
Thread Safety: safe
ProxyNumber
protected virtual long ProxyNumber { get; }
Property Value
Methods
Add(UserSituationEntry)
Adds the item to the collection.
public virtual void Add(UserSituationEntry entry)
Parameters
entry
UserSituationEntryEntry to be added.
Remarks
The item will not be stored in database directly. To effect the database use the method update() of UserSituationEnum.
ContainsObjectByPrimaryKey(int)
Checks if the item, identified by the primary key, is in this collection.
Element of primary key.public virtual bool ContainsObjectByPrimaryKey(int SituationId)
Parameters
SituationId
int
Returns
- bool
True if entry is in collection, otherwise false.
Remarks
Thread Safety: safe
CopyFrom(UserSituationEntryCollection)
Copies the given collection into this collection by cloning its items.
public virtual void CopyFrom(UserSituationEntryCollection sourceCol)
Parameters
sourceCol
UserSituationEntryCollectionThe source collection.
Remarks
Thread Safety: safe
CreateSortableFilterCollection()
Creates a sortable collection containing all current entries of this collection.
public virtual UserSituationEntrySortableCollection CreateSortableFilterCollection()
Returns
- UserSituationEntrySortableCollection
Sortable collection with optional filter methods.
Remarks
Thread Safety: safe
Dispose()
Dispose
public virtual void Dispose()
Remarks
Thread Safety: safe
GetObjectByPrimaryKey(int)
Gets the item identified by the primary key from this collection.
Primary key of item.public virtual UserSituationEntry GetObjectByPrimaryKey(int SituationId)
Parameters
SituationId
int
Returns
- UserSituationEntry
Entry
Remarks
Thread Safety: safe
Remove(UserSituationEntry)
Removes the item from the collection. And marks it as deleted.
public virtual void Remove(UserSituationEntry entry)
Parameters
entry
UserSituationEntryEntry to be removed.
Remarks
The item will not be deleted in database directly. To effect the database use update() of UserSituationEnum.