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