Class TrunkAdminView1PrimaryCollection
- Namespace
- SWConfigDataClientLib.Proxies.Admin
- Assembly
- IpPbxCDSClientLib.dll
Collection of primary configuration items. The primary configuration item is TrunkAdminView1Entry. This class is generated.
[DefaultMember("Item")]
public class TrunkAdminView1PrimaryCollection : SArrayListFacade
- Inheritance
-
TrunkAdminView1PrimaryCollection
- Inherited Members
Constructors
TrunkAdminView1PrimaryCollection()
standard constructor
public TrunkAdminView1PrimaryCollection()
TrunkAdminView1PrimaryCollection(bool)
public TrunkAdminView1PrimaryCollection(bool sync)
Parameters
sync
bool
Fields
ClassTrace
protected static STraceInfo ClassTrace
Field Value
- STraceInfo
Properties
this[int]
Get the item per index
public virtual TrunkAdminView1Entry this[int Index] { get; set; }
Parameters
Index
int
Property Value
- TrunkAdminView1Entry
TrunkAdminView1Entry
ProxyNumber
protected virtual long ProxyNumber { get; }
Property Value
Valid
True if is valid data object
public virtual bool Valid { get; }
Property Value
Methods
Add(TrunkAdminView1Entry)
Adds the item to the collection.
public virtual void Add(TrunkAdminView1Entry entry)
Parameters
entry
TrunkAdminView1EntryEntry to be added.
Remarks
The item will not be stored in database directly. To effect the database use the method update() of TrunkAdminView1Facade.
Add(TrunkAdminView1PrimaryCollection)
Adds the item to the collection.
public virtual void Add(TrunkAdminView1PrimaryCollection Collection)
Parameters
Collection
TrunkAdminView1PrimaryCollection
Remarks
The item will not be stored in database. To effect the database use members of .
ContainsObjectByPrimaryKey(int)
Checks if the item, identified by the primary key, is in this collection.
Element of primary key.public virtual bool ContainsObjectByPrimaryKey(int PortID)
Parameters
PortID
int
Returns
- bool
True if entry is in collection, otherwise false.
CreateSortableFilterCollection()
Creates a sortable collection containing all current entries of this collection.
public virtual TrunkAdminView1EntrySortableCollection CreateSortableFilterCollection()
Returns
- TrunkAdminView1EntrySortableCollection
Sortable collection with optional filter methods.
GetObjectByPrimaryKey(int)
Gets the item identified by the primary key from this collection.
Primary key of item.public virtual TrunkAdminView1Entry GetObjectByPrimaryKey(int PortID)
Parameters
PortID
int
Returns
- TrunkAdminView1Entry
Entry
Remove(TrunkAdminView1Entry)
Removes the item from the collection.
public virtual void Remove(TrunkAdminView1Entry entry)
Parameters
entry
TrunkAdminView1EntryEntry to be removed.
Remarks
The item will not be deleted in database directly. To effect the database use update(true) of .