Class SelectionProviderBase
Implements the base common functionality for the different selection providers. This base class
implements support for static, dynamic and combined selections.
Inheritance
System.Object
SelectionProviderBase
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: SoDataBase.dll
Syntax
public abstract class SelectionProviderBase : MultiQueryProviderBase, IArchiveMultiQueryProvider, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities, IPlugin
Constructors
SelectionProviderBase(String, String, String, Boolean)
Declaration
public SelectionProviderBase(string staticProvidername, string dynamicProviderName, string combinedProviderName, bool isShadow)
Parameters
Type |
Name |
Description |
System.String |
staticProvidername |
|
System.String |
dynamicProviderName |
|
System.String |
combinedProviderName |
|
Boolean |
isShadow |
|
Fields
_combinedProvider
Declaration
protected IArchiveProvider _combinedProvider
Field Value
_combinedProviderName
Declaration
protected string _combinedProviderName
Field Value
Type |
Description |
System.String |
|
_dynamicProvider
Declaration
protected IArchiveProvider _dynamicProvider
Field Value
_dynamicProviderName
Declaration
protected string _dynamicProviderName
Field Value
Type |
Description |
System.String |
|
_staticProvider
Declaration
protected IArchiveProvider _staticProvider
Field Value
_staticProviderName
Declaration
protected string _staticProviderName
Field Value
Type |
Description |
System.String |
|
ColumnSelectionId
Declaration
public const string ColumnSelectionId = "selectionId"
Field Value
Type |
Description |
System.String |
|
Methods
GetRows(String)
Return rows as fetched by the base class, but count them. Update the selection member count
if the selection id is known and we have read the last row of the selection
Declaration
public override IEnumerable<ArchiveRow> GetRows(string options)
Parameters
Type |
Name |
Description |
System.String |
options |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<ArchiveRow> |
|
Overrides
SetRestriction(ArchiveRestrictionInfo[])
Declaration
public override bool SetRestriction(ArchiveRestrictionInfo[] restrictions)
Parameters
Returns
Overrides
SetSelectionRestricion(ArchiveRestrictionInfo[], SelectionRow)
Method that sets the specific selection restrictions. This method exists so that subclasses can override it and
use the selection row without having to retrieve it again.
Declaration
protected virtual ArchiveRestrictionInfo[] SetSelectionRestricion(ArchiveRestrictionInfo[] restrictions, SelectionRow selection)
Parameters
Returns
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)