Class NumberProfilePrimaryCollection
- Namespace
- SWConfigDataClientLib.Proxies.IppbxServer
- Assembly
- IpPbxCDSClientLib.dll
Collection of primary configuration items. The primary configuration item is NumberProfileEntry. This class is generated.
[DefaultMember("Item")]
public class NumberProfilePrimaryCollection : SArrayListFacade
- Inheritance
-
NumberProfilePrimaryCollection
- Inherited Members
Constructors
NumberProfilePrimaryCollection()
standard constructor
public NumberProfilePrimaryCollection()
NumberProfilePrimaryCollection(bool)
public NumberProfilePrimaryCollection(bool sync)
Parameters
sync
bool
Fields
ClassTrace
protected static STraceInfo ClassTrace
Field Value
- STraceInfo
Properties
this[int]
Get the item per index
public virtual NumberProfileEntry this[int Index] { get; set; }
Parameters
Index
int
Property Value
- NumberProfileEntry
NumberProfileEntry
ProxyNumber
protected virtual long ProxyNumber { get; }
Property Value
Valid
True if is valid data object
public virtual bool Valid { get; }
Property Value
Methods
Add(NumberProfileEntry)
Adds the item to the collection.
public virtual void Add(NumberProfileEntry entry)
Parameters
entry
NumberProfileEntryEntry to be added.
Remarks
The item will not be stored in database directly. To effect the database use the method update() of NumberProfileFacade.
Add(NumberProfilePrimaryCollection)
Adds the item to the collection.
public virtual void Add(NumberProfilePrimaryCollection Collection)
Parameters
Collection
NumberProfilePrimaryCollection
Remarks
The item will not be stored in database. To effect the database use members of .
ContainsEntryInLocalCollectionByProfileID(string)
Checks is the item with ProfileID = key in collection.
public virtual bool ContainsEntryInLocalCollectionByProfileID(string key)
Parameters
key
stringProfileID
Returns
- bool
Returns true if collection contains item with the given key.
ContainsObjectByPrimaryKey(int)
Checks if the item, identified by the primary key, is in this collection.
Element of primary key.public virtual bool ContainsObjectByPrimaryKey(int NumberProfileID)
Parameters
NumberProfileID
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 NumberProfileEntrySortableCollection CreateSortableFilterCollection()
Returns
- NumberProfileEntrySortableCollection
Sortable collection with optional filter methods.
GetEntryFromLocalCollectionByProfileID(string)
Retrieves the item with ProfileID = key from this collection.
public virtual NumberProfileEntry GetEntryFromLocalCollectionByProfileID(string key)
Parameters
key
stringProfileID
Returns
- NumberProfileEntry
Entry from collection
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 NumberProfileEntry GetObjectByPrimaryKey(int NumberProfileID)
Parameters
NumberProfileID
int
Returns
- NumberProfileEntry
Entry
Remove(NumberProfileEntry)
Removes the item from the collection.
public virtual void Remove(NumberProfileEntry entry)
Parameters
entry
NumberProfileEntryEntry to be removed.
Remarks
The item will not be deleted in database directly. To effect the database use update(true) of .