Class DocumentSelectionDynamicProvider
Document selection archive using the selectionId as criterionmapping.
Inheritance
DocumentSelectionDynamicProvider
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists.Archive
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[ArchiveProvider("DocumentDynamicSelection", 1073741823)]
public class DocumentSelectionDynamicProvider : DynamicSelectionProviderBase<ArchiveRow, DocumentDocumentExtender>, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveTypedProvider<ArchiveRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Constructors
DocumentSelectionDynamicProvider()
Document selection archive using the selectionId as criterionmapping.
Declaration
public DocumentSelectionDynamicProvider()
DocumentSelectionDynamicProvider(Features)
Document selection archive using the selectionId as criterionmapping.
Declaration
public DocumentSelectionDynamicProvider(DocumentExtenderWithoutDescriptionBase.Features features)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentExtenderWithoutDescriptionBase.Features | features |
Fields
ProviderName
Document selection archive using the selectionId as criterionmapping.
Declaration
public const string ProviderName = "DocumentDynamicSelection"
Field Value
| Type | Description |
|---|---|
| string |
_colRowKind
Document selection archive using the selectionId as criterionmapping.
Declaration
protected ArchiveColumnInfo _colRowKind
Field Value
| Type | Description |
|---|---|
| ArchiveColumnInfo |
_colSelectionId
Document selection archive using the selectionId as criterionmapping.
Declaration
protected ArchiveColumnInfo _colSelectionId
Field Value
| Type | Description |
|---|---|
| ArchiveColumnInfo |
Methods
GetRowsAsync(string, CancellationToken)
Override: If no criteria have been specified for the dynamic selection, then it should return no rows
Declaration
public override IAsyncEnumerable<ArchiveRow> GetRowsAsync(string options, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | options | |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| IAsyncEnumerable<ArchiveRow> |
Overrides
TypedQueryProviderBase<ArchiveRow, DocumentDocumentExtender>.GetRowsAsync(string, CancellationToken)
InnerPopulateRowFromReader(SoDataReader, ArchiveRow)
Override: If no-one in the subclass has set the link hint up to now, then do so, using the row entity name and primary key
Declaration
protected override void InnerPopulateRowFromReader(SoDataReader reader, ArchiveRow row)
Parameters
| Type | Name | Description |
|---|---|---|
| SoDataReader | reader | |
| ArchiveRow | row |
Overrides
SuperOffice.CRM.ArchiveLists.TypedQueryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveRow, SuperOffice.CRM.ArchiveLists.DocumentDocumentExtender>.InnerPopulateRowFromReader(SuperOffice.Data.SoDataReader, SuperOffice.CRM.ArchiveLists.ArchiveRow)
SetRestriction(params ArchiveRestrictionInfo[])
Remove all restrictions if the provider is flagged as having no restrictions.
Declaration
public override bool SetRestriction(params ArchiveRestrictionInfo[] restrictions)
Parameters
| Type | Name | Description |
|---|---|---|
| ArchiveRestrictionInfo[] | restrictions |
Returns
| Type | Description |
|---|---|
| bool |