Class FavouriteSelectionExtender
Extend a Favourite extender with a Selection extender, to provide the Selection columns related to a Favourite.
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public class FavouriteSelectionExtender : SelectionExtenderBase, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible
Constructors
FavouriteSelectionExtender()
Initialize extender with a given set of features
Declaration
public FavouriteSelectionExtender()
Fields
ColumnSelectionId
Extend a Favourite extender with a Selection extender, to provide the Selection columns related to a Favourite.
Declaration
public const string ColumnSelectionId = "selectionId"
Field Value
Type | Description |
---|---|
string |
_colEntityIcon
Extend a Favourite extender with a Selection extender, to provide the Selection columns related to a Favourite.
Declaration
protected ArchiveColumnInfo _colEntityIcon
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colFavouriteAssociateId
Extend a Favourite extender with a Selection extender, to provide the Selection columns related to a Favourite.
Declaration
protected ArchiveColumnInfo _colFavouriteAssociateId
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colIcon
Extend a Favourite extender with a Selection extender, to provide the Selection columns related to a Favourite.
Declaration
protected ArchiveColumnInfo _colIcon
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colText
Extend a Favourite extender with a Selection extender, to provide the Selection 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 tableinfo and join it to the parent Favourite
Declaration
protected override SelectionTableInfo SetJoin()
Returns
Type | Description |
---|---|
SelectionTableInfo | TableInfo of the newly created info instance |