Class TableExtenderBase<MainTableInfo>
Improved version of the ExtenderBase base class. This class adds a typed TableInfo member and the call to SetJoin, as well as an implementation of the TableToExtend property, thereby saving derived classes from these chores.
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public abstract class TableExtenderBase<MainTableInfo> : ExtenderBase<MainTableInfo>, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible where MainTableInfo : TableInfo
Type Parameters
Name | Description |
---|---|
MainTableInfo |
Constructors
TableExtenderBase()
Improved version of the ExtenderBase base class. This class adds a typed TableInfo member and the call to SetJoin, as well as an implementation of the TableToExtend property, thereby saving derived classes from these chores.
Declaration
protected TableExtenderBase()
Fields
_ourTable
Improved version of the ExtenderBase base class. This class adds a typed TableInfo member and the call to SetJoin, as well as an implementation of the TableToExtend property, thereby saving derived classes from these chores.
Declaration
protected MainTableInfo _ourTable
Field Value
Type | Description |
---|---|
MainTableInfo |
Properties
MainTableName
The name of the table that this node is the handler for
Declaration
public override string MainTableName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
TableToExtend
Return the table to extend, as defined by THIS extender class.
Declaration
public override TableInfo TableToExtend { get; }
Property Value
Type | Description |
---|---|
TableInfo |
Overrides
Methods
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
ModifyQuery()
Interface implementation, called from outer query provider to build the query
Declaration
public override void ModifyQuery()