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