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 method to join an EmailTableInfo to the .
Inheritance
System.Object
EmailExtenderBase
Assembly: SoDataBase.dll
Syntax
public abstract class EmailExtenderBase : TableExtenderBase<EmailTableInfo>, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible, IPlugin
Constructors
EmailExtenderBase()
Declaration
public EmailExtenderBase()
Fields
_colEmailAddress
Declaration
protected ArchiveColumnInfo _colEmailAddress
Field Value
_colEmailBounceCount
Declaration
protected ArchiveColumnInfo _colEmailBounceCount
Field Value
_colEmailDescription
Declaration
protected ArchiveColumnInfo _colEmailDescription
Field Value
_colEmailLastBounce
Declaration
protected ArchiveColumnInfo _colEmailLastBounce
Field Value
_colEmailLastSent
Declaration
protected ArchiveColumnInfo _colEmailLastSent
Field Value
_colEmailProtocol
Declaration
protected ArchiveColumnInfo _colEmailProtocol
Field Value
_colHasBounced
Declaration
protected ArchiveColumnInfo _colHasBounced
Field Value
_colID
Declaration
protected ArchiveColumnInfo _colID
Field Value
ColumnID
Declaration
public const string ColumnID = "emailId"
Field Value
Type |
Description |
System.String |
|
EmailAddressColumnName
Declaration
public const string EmailAddressColumnName = "emailAddress"
Field Value
Type |
Description |
System.String |
|
EmailDescriptionColumnName
Declaration
public const string EmailDescriptionColumnName = "emailDescription"
Field Value
Type |
Description |
System.String |
|
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
Returns
Overrides
SuperOffice.CRM.ArchiveLists.ExtenderBase<SuperOffice.CRM.Data.EmailTableInfo>.GetRankRestriction(SuperOffice.Data.SQL.FieldInfo)
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
SuperOffice.CRM.ArchiveLists.ExtenderBase<SuperOffice.CRM.Data.EmailTableInfo>.InnerModifyQuery()
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
Overrides
SuperOffice.CRM.ArchiveLists.TableExtenderBase<SuperOffice.CRM.Data.EmailTableInfo>.InnerPopulateRowFromReader(SuperOffice.Data.SoDataReader, SuperOffice.CRM.ArchiveLists.ArchiveRow)
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)