Class FirmwarePrimaryCollection
- Namespace
- SWConfigDataClientLib.Proxies.Firmware
- Assembly
- IpPbxCDSClientLib.dll
Collection of primary configuration items. The primary configuration item is FirmwareEntry. This class is generated.
[DefaultMember("Item")]
public class FirmwarePrimaryCollection : SArrayList
- Inheritance
-
FirmwarePrimaryCollection
- Inherited Members
Remarks
Thread Safety: safe
Constructors
FirmwarePrimaryCollection()
standard constructor
public FirmwarePrimaryCollection()
Fields
ClassTrace
protected static STraceInfo ClassTrace
Field Value
- STraceInfo
Properties
this[int]
Get the item per index
public virtual FirmwareEntry this[int Index] { get; set; }
Parameters
Index
int
Property Value
- FirmwareEntry
FirmwareEntryBase
Remarks
Thread Safety: safe
ProxyNumber
protected virtual long ProxyNumber { get; }
Property Value
Valid
True if is valid data object
public virtual bool Valid { get; }
Property Value
Remarks
Thread Safety: safe
Methods
Add(FirmwareEntry)
Adds the item to the collection.
public virtual void Add(FirmwareEntry entry)
Parameters
entry
FirmwareEntryEntry to be added.
Remarks
The item will not be stored in database directly. To effect the database use the method update() of FirmwareEnum.
Add(FirmwarePrimaryCollection)
Adds the item to the collection.
public virtual void Add(FirmwarePrimaryCollection Collection)
Parameters
Collection
FirmwarePrimaryCollection
Remarks
The item will not be stored in database. To effect the database use members of .
ContainsEntryInLocalCollectionByPhoneID(string)
Checks is the item with PhoneID = key in collection.
public virtual bool ContainsEntryInLocalCollectionByPhoneID(string key)
Parameters
key
stringPhoneID
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
CreateSortableFilterCollection()
Creates a sortable collection containing all current entries of this collection.
public virtual FirmwareEntrySortableCollection CreateSortableFilterCollection()
Returns
- FirmwareEntrySortableCollection
Sortable collection with optional filter methods.
Remarks
Thread Safety: safe
GetEntryFromLocalCollectionByPhoneID(string)
Retrieves the item with PhoneID = key from this collection.
public virtual FirmwareEntry GetEntryFromLocalCollectionByPhoneID(string key)
Parameters
key
stringPhoneID
Returns
- FirmwareEntry
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 FirmwareEntry GetObjectByPrimaryKey(int EntryID)
Parameters
EntryID
int
Returns
- FirmwareEntry
Entry
Remarks
Thread Safety: safe
Remove(FirmwareEntry)
Removes the item from the collection.
public virtual void Remove(FirmwareEntry entry)
Parameters
entry
FirmwareEntryEntry to be removed.
Remarks
The item will not be deleted in database directly. To effect the database use update(true) of .