Class PreferredPublicNumberEntryCollection
- Namespace
- SWConfigDataClientLib.Proxies.InternalNumbers
- Assembly
- IpPbxCDSClientLib.dll
Collection of simple configuration items. The collenction is part of an updateable configuration item. The simple configuration item is PreferredPublicNumberEntry. The owning configuration item is PublicNumberEntry. For reading or writing this configuration items to database use methods of PublicNumberEntry. This class is generated.
[DefaultMember("Item")]
public class PreferredPublicNumberEntryCollection : SArrayList
- Inheritance
-
PreferredPublicNumberEntryCollection
- Inherited Members
Remarks
Thread Safety: safe
Constructors
PreferredPublicNumberEntryCollection()
public PreferredPublicNumberEntryCollection()
Fields
ClassTrace
protected static STraceInfo ClassTrace
Field Value
- STraceInfo
Properties
this[int]
Get the item per index
public virtual PreferredPublicNumberEntry this[int Index] { get; set; }
Parameters
Index
int
Property Value
- PreferredPublicNumberEntry
PhoneCallEntry
Remarks
Thread Safety: safe
ProxyNumber
protected virtual long ProxyNumber { get; }
Property Value
Methods
Add(PreferredPublicNumberEntry)
Adds the item to the collection.
public virtual void Add(PreferredPublicNumberEntry entry)
Parameters
entry
PreferredPublicNumberEntryEntry to be added.
Remarks
The item will not be stored in database directly. To effect the database use the method update() of PreferredPublicNumberEnum.
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(PreferredPublicNumberEntryCollection)
Copies the given collection into this collection by cloning its items.
public virtual void CopyFrom(PreferredPublicNumberEntryCollection sourceCol)
Parameters
sourceCol
PreferredPublicNumberEntryCollectionThe source collection.
Remarks
Thread Safety: safe
CreateSortableFilterCollection()
Creates a sortable collection containing all current entries of this collection.
public virtual PreferredPublicNumberEntrySortableCollection CreateSortableFilterCollection()
Returns
- PreferredPublicNumberEntrySortableCollection
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 PreferredPublicNumberEntry GetObjectByPrimaryKey(int EntryID)
Parameters
EntryID
int
Returns
Remarks
Thread Safety: safe
Remove(PreferredPublicNumberEntry)
Removes the item from the collection. And marks it as deleted.
public virtual void Remove(PreferredPublicNumberEntry entry)
Parameters
entry
PreferredPublicNumberEntryEntry to be removed.
Remarks
The item will not be deleted in database directly. To effect the database use update() of PreferredPublicNumberEnum.