Class EmailExtenderBase
This is the base class for all extenders that add Email fields to their base query. It handles all email-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join an EmailTableInfo to the RootQuery.
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public abstract class EmailExtenderBase : TableExtenderBase<EmailTableInfo>, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible
Constructors
EmailExtenderBase()
This is the base class for all extenders that add Email fields to their base query. It handles all email-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join an EmailTableInfo to the RootQuery.
Declaration
public EmailExtenderBase()
Fields
ColumnID
This is the base class for all extenders that add Email fields to their base query. It handles all email-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join an EmailTableInfo to the RootQuery.
Declaration
public const string ColumnID = "emailId"
Field Value
Type | Description |
---|---|
string |
EmailAddressColumnName
This is the base class for all extenders that add Email fields to their base query. It handles all email-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join an EmailTableInfo to the RootQuery.
Declaration
public const string EmailAddressColumnName = "emailAddress"
Field Value
Type | Description |
---|---|
string |
EmailDescriptionColumnName
This is the base class for all extenders that add Email fields to their base query. It handles all email-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join an EmailTableInfo to the RootQuery.
Declaration
public const string EmailDescriptionColumnName = "emailDescription"
Field Value
Type | Description |
---|---|
string |
_colEmailAddress
This is the base class for all extenders that add Email fields to their base query. It handles all email-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join an EmailTableInfo to the RootQuery.
Declaration
protected ArchiveColumnInfo _colEmailAddress
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colEmailBounceCount
This is the base class for all extenders that add Email fields to their base query. It handles all email-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join an EmailTableInfo to the RootQuery.
Declaration
protected ArchiveColumnInfo _colEmailBounceCount
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colEmailDescription
This is the base class for all extenders that add Email fields to their base query. It handles all email-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join an EmailTableInfo to the RootQuery.
Declaration
protected ArchiveColumnInfo _colEmailDescription
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colEmailLastBounce
This is the base class for all extenders that add Email fields to their base query. It handles all email-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join an EmailTableInfo to the RootQuery.
Declaration
protected ArchiveColumnInfo _colEmailLastBounce
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colEmailLastSent
This is the base class for all extenders that add Email fields to their base query. It handles all email-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join an EmailTableInfo to the RootQuery.
Declaration
protected ArchiveColumnInfo _colEmailLastSent
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colEmailProtocol
This is the base class for all extenders that add Email fields to their base query. It handles all email-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join an EmailTableInfo to the RootQuery.
Declaration
protected ArchiveColumnInfo _colEmailProtocol
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colHasBounced
This is the base class for all extenders that add Email fields to their base query. It handles all email-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join an EmailTableInfo to the RootQuery.
Declaration
protected ArchiveColumnInfo _colHasBounced
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colID
This is the base class for all extenders that add Email fields to their base query. It handles all email-related fields. Derived classes should simply implement the ExtenderBase.SetJoin method to join an EmailTableInfo to the RootQuery.
Declaration
protected ArchiveColumnInfo _colID
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Methods
GetRankRestriction(FieldInfo)
Override: Drop the rank=1 restriction of the join if there are other active restrictions
Declaration
protected override Restriction GetRankRestriction(FieldInfo rankField)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | rankField |
Returns
Type | Description |
---|---|
Restriction |
Overrides
InnerModifyQuery()
Add/map return fields to the query; call SetJoin to obtain the contact table info instance from the derived class
Declaration
protected override void InnerModifyQuery()
Overrides
InnerPopulateRowFromReader(SoDataReader, ArchiveRow)
Populate the archive row with columns that are not handled by the base class
Declaration
protected override void InnerPopulateRowFromReader(SoDataReader reader, ArchiveRow row)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | Reader with data fields |
ArchiveRow | row | Row to be populated |