Show / Hide Table of Contents

Class MultiQueryProviderBaseWithRestrictionGroups

Base for providers with OR-able restriction groups.

Inheritance
Object
MultiQueryProviderBase
MultiQueryProviderBaseWithRestrictionGroups
ConfigurableArchiveProvider
DynamicSelectionMultiCriteriaGroupBase
FindErpProductSearchProvider
SaintProviderWithRestrictionGroupSupport
Implements
IArchiveMultiQueryProvider
IArchiveProvider
IArchiveProviderHasRows
IArchiveProviderHasColumns
IArchiveProviderHasEntities
Inherited Members
MultiQueryProviderBase.InnerPopulateRow(ArchiveRow)
MultiQueryProviderBase.AcceptRow(ArchiveRow)
MultiQueryProviderBase.PreGetRows()
MultiQueryProviderBase.GetFinalRowCount()
MultiQueryProviderBase.AddSubProvider<ProviderType>(ProviderType)
MultiQueryProviderBase.RemoveSubProvider<ProviderType>(ProviderType)
MultiQueryProviderBase.SetRestrictionAndDropUnrestrictedProviders(ArchiveRestrictionInfo[])
MultiQueryProviderBase.CreateAndAddProviders(MultiQueryProviderBase.AddProviderInfo[])
MultiQueryProviderBase.Close()
MultiQueryProviderBase.GetReader(String)
MultiQueryProviderBase.GetResultInformation()
MultiQueryProviderBase.SetPagingInfo(Int32, Int32)
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
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public abstract class MultiQueryProviderBaseWithRestrictionGroups : MultiQueryProviderBase, IArchiveMultiQueryProvider, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities, IPlugin

Constructors

MultiQueryProviderBaseWithRestrictionGroups()

Base for providers with OR-able restriction groups.

Declaration
public MultiQueryProviderBaseWithRestrictionGroups()

MultiQueryProviderBaseWithRestrictionGroups(String)

Base for providers with OR-able restriction groups.

Declaration
public MultiQueryProviderBaseWithRestrictionGroups(string tableName)
Parameters
Type Name Description
String tableName

MultiQueryProviderBaseWithRestrictionGroups(String, String)

Base for providers with OR-able restriction groups.

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

Properties

RestrictionStorageKey

Base for providers with OR-able restriction groups.

Declaration
protected abstract string RestrictionStorageKey { get; }
Property Value
Type Description
String

StorageKeyRestrictionName

Base for providers with OR-able restriction groups.

Declaration
protected abstract string StorageKeyRestrictionName { get; }
Property Value
Type Description
String

SubProviderName

Base for providers with OR-able restriction groups.

Declaration
protected abstract string SubProviderName { get; }
Property Value
Type Description
String

Methods

GetFirstProvider()

Base for providers with OR-able restriction groups.

Declaration
protected IArchiveProvider GetFirstProvider()
Returns
Type Description
IArchiveProvider

GetRows(String)

Base for providers with OR-able restriction groups.

Declaration
public override IEnumerable<ArchiveRow> GetRows(string options)
Parameters
Type Name Description
String options
Returns
Type Description
IEnumerable<ArchiveRow>
Overrides
MultiQueryProviderBase.GetRows(String)

ModifyRestrictionGroup(IArchiveProvider, ArchiveRestrictionInfo[])

Base for providers with OR-able restriction groups.

Declaration
protected virtual ArchiveRestrictionInfo[] ModifyRestrictionGroup(IArchiveProvider provider, ArchiveRestrictionInfo[] resGroup)
Parameters
Type Name Description
IArchiveProvider provider
ArchiveRestrictionInfo[] resGroup
Returns
Type Description
ArchiveRestrictionInfo[]

SetDesiredColumns(String[])

Store the desired columns, so they don't get lost until SetRestrictions tells us what to do

Declaration
public override void SetDesiredColumns(params string[] columnIds)
Parameters
Type Name Description
String[] columnIds
Overrides
MultiQueryProviderBase.SetDesiredColumns(String[])

SetDesiredEntities(String[])

Store the desired entities, so they don't get lost until SetRestrictions tells us what to do

Declaration
public override void SetDesiredEntities(params string[] entities)
Parameters
Type Name Description
String[] entities
Overrides
MultiQueryProviderBase.SetDesiredEntities(String[])

SetOrderBy(ArchiveOrderByInfo[])

Store the orderby, so they don't get lost until SetRestrictions tells us what to do

Declaration
public override void SetOrderBy(ArchiveOrderByInfo[] orderBy)
Parameters
Type Name Description
ArchiveOrderByInfo[] orderBy
Overrides
MultiQueryProviderBase.SetOrderBy(ArchiveOrderByInfo[])

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
Boolean
Overrides
MultiQueryProviderBase.SetRestriction(ArchiveRestrictionInfo[])

Implements

IArchiveMultiQueryProvider
IArchiveProvider
IArchiveProviderHasRows
IArchiveProviderHasColumns
IArchiveProviderHasEntities

Extension Methods

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