Class SelectionDynamicProvider
Inheritance
SelectionDynamicProvider
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("ContactDynamicSelection", 1073741823)]
public class SelectionDynamicProvider : MultiQueryProviderBase, IArchiveMultiQueryProvider, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Constructors
SelectionDynamicProvider()
Declaration
public SelectionDynamicProvider()
Fields
ProviderName
Declaration
public const string ProviderName = "ContactDynamicSelection"
Field Value
_colRowKind
Declaration
protected ArchiveColumnInfo _colRowKind
Field Value
_colSelectionId
Declaration
protected ArchiveColumnInfo _colSelectionId
Field Value
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
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[])
Set the restriction for the provider. The restriction is simply propagated to all sub providers.
Declaration
public override bool SetRestriction(ArchiveRestrictionInfo[] restrictions)
Parameters
Returns
Overrides
Implements
Extension Methods