Class MultiQueryProviderBaseWithRestrictionGroups
Base for providers with OR-able restriction groups.
Inheritance
MultiQueryProviderBaseWithRestrictionGroups
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
Properties
RestrictionStorageKey
Base for providers with OR-able restriction groups.
Declaration
protected abstract string RestrictionStorageKey { get; }
Property Value
StorageKeyRestrictionName
Base for providers with OR-able restriction groups.
Declaration
protected abstract string StorageKeyRestrictionName { get; }
Property Value
SubProviderName
Base for providers with OR-able restriction groups.
Declaration
protected abstract string SubProviderName { get; }
Property Value
Methods
GetFirstProvider()
Base for providers with OR-able restriction groups.
Declaration
protected IArchiveProvider GetFirstProvider()
Returns
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
Overrides
ModifyRestrictionGroup(IArchiveProvider, ArchiveRestrictionInfo[])
Base for providers with OR-able restriction groups.
Declaration
protected virtual ArchiveRestrictionInfo[] ModifyRestrictionGroup(IArchiveProvider provider, ArchiveRestrictionInfo[] resGroup)
Parameters
Returns
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
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
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
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
Returns
Overrides
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)