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