Class FavouriteSaleExtender
Extend a Favourite extender with a Sale extender, to provide the Sale columns related to a Favourite.
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public class FavouriteSaleExtender : SaleExtenderBase, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible
Constructors
FavouriteSaleExtender()
Initialize extender with a given set of features
Declaration
public FavouriteSaleExtender()
Fields
_colFavouriteAssociateId
Extend a Favourite extender with a Sale extender, to provide the Sale columns related to a Favourite.
Declaration
protected ArchiveColumnInfo _colFavouriteAssociateId
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colItemIcon
Extend a Favourite extender with a Sale extender, to provide the Sale columns related to a Favourite.
Declaration
protected ArchiveColumnInfo _colItemIcon
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colText
Extend a Favourite extender with a Sale extender, to provide the Sale columns related to a Favourite.
Declaration
protected ArchiveColumnInfo _colText
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
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
SetJoin()
Create a Sale tableinfo and join it to the parent Favourite
Declaration
protected override SaleTableInfo SetJoin()
Returns
Type | Description |
---|---|
SaleTableInfo | SaleTableInfo of the newly created info instance |