Class SaleSelectionDynamicProvider
Sale selection archive using the selectionId as criterionmapping.
Inheritance
SaleSelectionDynamicProvider
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists.Archive
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("SaleDynamicSelection", 1073741823)]
public class SaleSelectionDynamicProvider : DynamicSelectionProviderBase<ArchiveRow, SaleSaleExtender>, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveTypedProvider<ArchiveRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Constructors
SaleSelectionDynamicProvider()
Sale selection archive using the selectionId as criterionmapping.
Declaration
public SaleSelectionDynamicProvider()
SaleSelectionDynamicProvider(Features)
Sale selection archive using the selectionId as criterionmapping.
Declaration
public SaleSelectionDynamicProvider(SaleExtenderBase.Features features)
Parameters
Type | Name | Description |
---|---|---|
SaleExtenderBase.Features | features |
Fields
ProviderName
Sale selection archive using the selectionId as criterionmapping.
Declaration
public const string ProviderName = "SaleDynamicSelection"
Field Value
Type | Description |
---|---|
string |
_colRowKind
Sale selection archive using the selectionId as criterionmapping.
Declaration
protected ArchiveColumnInfo _colRowKind
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colSelectionId
Sale selection archive using the selectionId as criterionmapping.
Declaration
protected ArchiveColumnInfo _colSelectionId
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Methods
GetRows(string)
Override: If no criteria have been specified for the dynamic selection, then it should return no rows
Declaration
public override IEnumerable<ArchiveRow> GetRows(string options)
Parameters
Type | Name | Description |
---|---|---|
string | options |
Returns
Type | Description |
---|---|
IEnumerable<ArchiveRow> |
Overrides
InnerPopulateRowFromReader(SoDataReader, ArchiveRow)
Override: If no-one in the subclass has set the link hint up to now, then do so, using the row entity name and primary key
Declaration
protected override void InnerPopulateRowFromReader(SoDataReader reader, ArchiveRow row)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | |
ArchiveRow | row |
Overrides
SetRestriction(params ArchiveRestrictionInfo[])
Remove all restrictions if the provider is flagged as having no restrictions.
Declaration
public override bool SetRestriction(params ArchiveRestrictionInfo[] restrictions)
Parameters
Type | Name | Description |
---|---|---|
ArchiveRestrictionInfo[] | restrictions |
Returns
Type | Description |
---|---|
bool |