Show / Hide Table of Contents

Class DynamicSelectionMultiCriteriaGroupBase

Base for archive providers with multiple OR groups.

Inheritance
object
MultiQueryProviderBase
MultiQueryProviderBaseWithRestrictionGroups
DynamicSelectionMultiCriteriaGroupBase
AppointmentSelectionDynamicProviderV2
AppointmentShadowSelectionDynamicProviderV2
ChatConversationSelectionDynamicProviderV2
ChatConversationShadowSelectionDynamicProviderV2
ContactPersonSelectionDynamicProviderV2
CustomObjectSelectionDynamicProviderV2
DocumentSelectionDynamicProviderV2
DocumentShadowSelectionDynamicProviderV2
FormSubmissionSelectionDynamicProviderV2
FormSubmissionShadowSelectionDynamicProviderV2
MailingsSelectionDynamicProviderV2
MailingsShadowSelectionDynamicProviderV2
ProjectSelectionDynamicProviderV2
ProjectShadowSelectionDynamicProviderV2
QuoteLineSelectionDynamicProviderV2
QuoteLineShadowSelectionDynamicProviderV2
SaleSelectionDynamicProviderV2
SaleShadowSelectionDynamicProviderV2
SelectionSelectionDynamicProviderV2
TicketSelectionDynamicProviderV2
TicketShadowSelectionDynamicProviderV2
Implements
IArchiveMultiQueryProvider
IArchiveProvider
IArchiveProviderHasRows
IArchiveProviderHasColumns
IArchiveProviderHasEntities
Inherited Members
MultiQueryProviderBaseWithRestrictionGroups.SetDesiredColumns(params string[])
MultiQueryProviderBaseWithRestrictionGroups.SetOrderBy(ArchiveOrderByInfo[])
MultiQueryProviderBaseWithRestrictionGroups.SetDesiredEntities(params string[])
MultiQueryProviderBaseWithRestrictionGroups.ModifyRestrictionGroup(IArchiveProvider, ArchiveRestrictionInfo[])
MultiQueryProviderBaseWithRestrictionGroups.GetFirstProvider()
MultiQueryProviderBase.AcceptRow(ArchiveRow)
MultiQueryProviderBase.PreGetRows()
MultiQueryProviderBase.GetFinalRowCount()
MultiQueryProviderBase.AddSubProvider<ProviderType>(ProviderType)
MultiQueryProviderBase.RemoveSubProvider<ProviderType>(ProviderType)
MultiQueryProviderBase.SetRestrictionAndDropUnrestrictedProviders(ArchiveRestrictionInfo[])
MultiQueryProviderBase.CreateAndAddProvidersAsync(MultiQueryProviderBase.AddProviderInfo[])
MultiQueryProviderBase.Close()
MultiQueryProviderBase.GetReaderAsync(string, CancellationToken)
MultiQueryProviderBase.GetResultInformationAsync()
MultiQueryProviderBase.SetPagingInfo(int, int)
MultiQueryProviderBase.GetAvailableColumns()
MultiQueryProviderBase.GetAvailableEntities()
MultiQueryProviderBase.InhibitParallelStart
MultiQueryProviderBase.Options
MultiQueryProviderBase.OrderBy
MultiQueryProviderBase.InhibitDistinctPrimaryKeys
MultiQueryProviderBase.OrderByRequiresAll
MultiQueryProviderBase.RestrictionRequiresAll
MultiQueryProviderBase.OrderByRequired
MultiQueryProviderBase.RestrictionHelper
MultiQueryProviderBase.ColumnHelper
MultiQueryProviderBase.PageSize
MultiQueryProviderBase.PageNumber
MultiQueryProviderBase.HaveReadToEnd
MultiQueryProviderBase.Providers
MultiQueryProviderBase.DebugXML
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.ArchiveLists.Archive
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public abstract class DynamicSelectionMultiCriteriaGroupBase : MultiQueryProviderBaseWithRestrictionGroups, IArchiveMultiQueryProvider, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities

Constructors

DynamicSelectionMultiCriteriaGroupBase()

Base for archive providers with multiple OR groups.

Declaration
public DynamicSelectionMultiCriteriaGroupBase()

DynamicSelectionMultiCriteriaGroupBase(string)

Base for archive providers with multiple OR groups.

Declaration
public DynamicSelectionMultiCriteriaGroupBase(string tableName)
Parameters
Type Name Description
string tableName

DynamicSelectionMultiCriteriaGroupBase(string, string)

Base for archive providers with multiple OR groups.

Declaration
public DynamicSelectionMultiCriteriaGroupBase(string tableName, string context)
Parameters
Type Name Description
string tableName
string context

Fields

_colRowKind

Base for archive providers with multiple OR groups.

Declaration
protected ArchiveColumnInfo _colRowKind
Field Value
Type Description
ArchiveColumnInfo

_colSelectionId

Base for archive providers with multiple OR groups.

Declaration
protected ArchiveColumnInfo _colSelectionId
Field Value
Type Description
ArchiveColumnInfo

Properties

RestrictionStorageKey

Base for archive providers with multiple OR groups.

Declaration
protected override string RestrictionStorageKey { get; }
Property Value
Type Description
string
Overrides
MultiQueryProviderBaseWithRestrictionGroups.RestrictionStorageKey

StorageKeyRestrictionName

Base for archive providers with multiple OR groups.

Declaration
protected override string StorageKeyRestrictionName { get; }
Property Value
Type Description
string
Overrides
MultiQueryProviderBaseWithRestrictionGroups.StorageKeyRestrictionName

SubProviderName

Base for archive providers with multiple OR groups.

Declaration
protected override string SubProviderName { get; }
Property Value
Type Description
string
Overrides
MultiQueryProviderBaseWithRestrictionGroups.SubProviderName

Methods

GetRowsAsync(string, CancellationToken)

Get the result enumerator. Accessing this enumerator will cause all sub query providers to be initialized in parallell (subject to global thread limits), rows will be skipped according to the current page settings, and results will come in the order specified by the current order by settings. Restrictions, desired columns, entities etc must be set before accessing this property.

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
MultiQueryProviderBaseWithRestrictionGroups.GetRowsAsync(string, CancellationToken)

InnerPopulateRow(ArchiveRow)

This virtual method is called after a row has been selected as being the 'next' to be returned by this multi query provider, and provides an opportunity to modify it before it is returned to the client.

Declaration
protected override void InnerPopulateRow(ArchiveRow row)
Parameters
Type Name Description
ArchiveRow row

Row being processed, may be modified (with due care)

Overrides
MultiQueryProviderBase.InnerPopulateRow(ArchiveRow)

SetRestriction(ArchiveRestrictionInfo[])

Mandatory restriction selectionId is used to retrieve the actual restrictions, instantiate providers and set up the whole system

Declaration
public override bool SetRestriction(ArchiveRestrictionInfo[] restrictions)
Parameters
Type Name Description
ArchiveRestrictionInfo[] restrictions
Returns
Type Description
bool
Overrides
MultiQueryProviderBaseWithRestrictionGroups.SetRestriction(ArchiveRestrictionInfo[])

Implements

IArchiveMultiQueryProvider
IArchiveProvider
IArchiveProviderHasRows
IArchiveProviderHasColumns
IArchiveProviderHasEntities

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
IArchiverProviderHasRowsExtensions.GetRowsAsync(IArchiveProviderHasRows, CancellationToken)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top