Class DynamicSelectionMultiCriteriaGroupBase
Base for archive providers with multiple OR groups.
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists.Archive
Assembly: SoDataBase.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
StorageKeyRestrictionName
Base for archive providers with multiple OR groups.
Declaration
protected override string StorageKeyRestrictionName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
SubProviderName
Base for archive providers with multiple OR groups.
Declaration
protected override string SubProviderName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetRows(string)
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 IEnumerable<ArchiveRow> GetRows(string options)
Parameters
Type | Name | Description |
---|---|---|
string | options |
Returns
Type | Description |
---|---|
IEnumerable<ArchiveRow> |
Overrides
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
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 |