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