Class ParticipantsAssociateProvider
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public abstract class ParticipantsAssociateProvider : ParticipantsSubProviderBase, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Constructors
ParticipantsAssociateProvider()
Declaration
public ParticipantsAssociateProvider()
Fields
_associateExtender
Declaration
protected AssociateAssociateExtender _associateExtender
Field Value
Type | Description |
---|---|
AssociateAssociateExtender |
_colAssociateEmailsInformation
Declaration
protected ArchiveColumnInfo _colAssociateEmailsInformation
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Properties
PrimaryTable
The primary table of this archive provider, from the derived class
Declaration
public override TableInfo PrimaryTable { get; }
Property Value
Type | Description |
---|---|
TableInfo |
Overrides
Query
The main query of this archive provider, from the derived class
Declaration
public override ArchiveSelect Query { get; }
Property Value
Type | Description |
---|---|
ArchiveSelect |
Overrides
RootExtenders
Implement this property to return the extender(s) that form the root of the query tree, or null if that is not meaningful. This property is used by the dynamic column processing, which will fail and throw an exception if null is returned here (no problem if dynamic column syntax is not used)
Declaration
protected override List<IArchiveExtender> RootExtenders { get; }
Property Value
Type | Description |
---|---|
List<IArchiveExtender> |
Overrides
Methods
AcceptRow(SoDataReader)
Override: Accept only associates that are employees (not System, Anonymous or whatever else) as real or potential participants, also drop retired ones
Declaration
protected override bool AcceptRow(SoDataReader reader)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader |
Returns
Type | Description |
---|---|
bool |
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
PostProcessQuery()
This method is called after ModifyQuery has been called on all extenders, but before the query is executed. It is used for processing that needs the query to be 'complete' from the extenders, and gives the opportunity to tweak it, for instance by adding return fields needed for some particular functionality.
Declaration
public override void PostProcessQuery()