Class TypedInMemoryProviderBase<RowType>
Implements
IArchiveTypedProvider<RowType>
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public abstract class TypedInMemoryProviderBase<RowType> : InMemoryProviderBase<RowType>, IArchiveTypedProvider<RowType>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities where RowType : ArchiveRow, new()
Type Parameters
Name | Description |
---|---|
RowType |
Constructors
TypedInMemoryProviderBase()
Declaration
protected TypedInMemoryProviderBase()
Methods
GetRows(string)
Override of the generic GetRows(string) method, in this case returning a strongly typed row instead of the generic ArchiveRow object.
Declaration
public IEnumerable<RowType> GetRows(string options)
Parameters
Type | Name | Description |
---|---|---|
string | options |
Returns
Type | Description |
---|---|
IEnumerable<RowType> |
GetStandardColumnNames()
Get the column names that are always present in the return row, i.e., those columns that have explicit properties in the StronglyTypedRow.
Declaration
public string[] GetStandardColumnNames()
Returns
Type | Description |
---|---|
string[] |
SetAdditionalColumns(params string[])
Set additional desired columns. In a typed provider, that actually means 'additional to the standard columns', which are always present.
Declaration
public void SetAdditionalColumns(params string[] additionalColumns)
Parameters
Type | Name | Description |
---|---|---|
string[] | additionalColumns | Additional columns |