Class StaticSelectionProviderBase<RowType, RootExtender>
Base class for static selection providers; handles lastLoaded and memberCount updates
Inheritance
QueryProviderBase<RowType>
TypedQueryProviderBase<RowType, RootExtender>
StaticSelectionProviderBase<RowType, RootExtender>
Implements
IArchiveTypedProvider<RowType>
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public abstract class StaticSelectionProviderBase<RowType, RootExtender> : TypedQueryProviderBase<RowType, RootExtender>, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveTypedProvider<RowType>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities where RowType : ArchiveRow, new() where RootExtender : IArchiveExtender, new()
Type Parameters
Name | Description |
---|---|
RowType | |
RootExtender |
Constructors
StaticSelectionProviderBase()
Base class for static selection providers; handles lastLoaded and memberCount updates
Declaration
public StaticSelectionProviderBase()
StaticSelectionProviderBase(ArchiveRowTypeInfo, RootExtender)
Base class for static selection providers; handles lastLoaded and memberCount updates
Declaration
public StaticSelectionProviderBase(ArchiveRowTypeInfo entity, RootExtender rootExtender)
Parameters
Type | Name | Description |
---|---|---|
ArchiveRowTypeInfo | entity | |
RootExtender | rootExtender |
Methods
GetRowsAsync(string, CancellationToken)
Track fetching of rows, and update the corresponding fields on selection for loading, and member counts
Declaration
public override IAsyncEnumerable<RowType> GetRowsAsync(string options, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | options | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
IAsyncEnumerable<RowType> |