Class ProjectSelectionDynamicProvider
Project selection archive using the selectionId as criterionmapping.
Inheritance
ProjectSelectionDynamicProvider
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists.Archive
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[ArchiveProvider("ProjectDynamicSelection", 1073741823)]
public class ProjectSelectionDynamicProvider : DynamicSelectionProviderBase<ArchiveRow, ProjectProjectExtender>, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveTypedProvider<ArchiveRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Constructors
ProjectSelectionDynamicProvider()
Project selection archive using the selectionId as criterionmapping.
Declaration
public ProjectSelectionDynamicProvider()
ProjectSelectionDynamicProvider(Features)
Project selection archive using the selectionId as criterionmapping.
Declaration
public ProjectSelectionDynamicProvider(ProjectExtenderBase.Features features)
Parameters
| Type | Name | Description |
|---|---|---|
| ProjectExtenderBase.Features | features |
Fields
ProviderName
Project selection archive using the selectionId as criterionmapping.
Declaration
public const string ProviderName = "ProjectDynamicSelection"
Field Value
| Type | Description |
|---|---|
| string |
_colRowKind
Project selection archive using the selectionId as criterionmapping.
Declaration
protected ArchiveColumnInfo _colRowKind
Field Value
| Type | Description |
|---|---|
| ArchiveColumnInfo |
_colSelectionId
Project 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
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
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 |