Class TypedInMemoryProviderBase<RowType>
Implements
IArchiveTypedProvider<RowType>
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.BusinessLogic.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
GetRowsAsync(string, CancellationToken)
Override of the generic SuperOffice.CRM.ArchiveLists.IArchiveProviderHasRows.GetRows method, in this case returning a strongly typed row instead of the generic ArchiveRow object.
Declaration
public IAsyncEnumerable<RowType> GetRowsAsync(string options, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | options | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
IAsyncEnumerable<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 |