Class DynamicSaleExtender
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists.Dynamic_specializations
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[DynamicExtender("sale")]
public class DynamicSaleExtender : DynamicExtender, IArchiveProviderQueryMapping, IArchiveDynamicExtender, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible, IArchiveProviderDynamicExtend
Constructors
DynamicSaleExtender()
Declaration
public DynamicSaleExtender()
Fields
TableName
Name of handled table
Declaration
public const string TableName = "sale"
Field Value
| Type | Description |
|---|---|
| string |
Methods
InnerModifyQuery()
Template method called from ModifyQuery() during query processing; subclasses should implement it to build their queries. It will ONLY be called if IsQueryNeeded returns true.
Declaration
protected override void InnerModifyQuery()
Overrides
InnerPopulateRowFromReader(SoDataReader, ArchiveRow)
Derived classes should implement the population of ColumnData items for columns that are NOT handled by this base class in this method. Whether a column is handled by this base class is part of its database binding information, set by the various MapXXX methods.
Declaration
protected override void InnerPopulateRowFromReader(SoDataReader reader, ArchiveRow row)
Parameters
| Type | Name | Description |
|---|---|---|
| SoDataReader | reader | Data reader with the query result (one row) |
| ArchiveRow | row | archive row to be populated |
Overrides
SetDesiredColumns(params string[])
Set the list of desired columns. This method sets the desired columns of this provider, as well as invoking the same call on all known extenders. Recursion will take it to the bottom. Any column name overrides are processed, i.e., replaced with the original inner names, so that the inner providers do not see the overrides.
Declaration
public override void SetDesiredColumns(params string[] columnIds)
Parameters
| Type | Name | Description |
|---|---|---|
| string[] | columnIds | Array of programmatic column names |