Class PersonEmailExtender
This class extends a Contact archive provider extender with Email fields
Inheritance
PersonEmailExtender
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public class PersonEmailExtender : EmailExtenderBase, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible
Constructors
PersonEmailExtender(bool, string)
Construct the object
Declaration
public PersonEmailExtender(bool showRankOneEmail = false, string iconHint = "Person")
Parameters
| Type | Name | Description |
|---|---|---|
| bool | showRankOneEmail | Row data is replaced with data from the rank one email of the person. Use this when you want to query on any email linked, but only show rank 1 email data. |
| string | iconHint |
Methods
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 |
Overrides
SetJoin()
Set up the join for a person's email address, using the base-class defined rank restriction
Declaration
protected override EmailTableInfo SetJoin()
Returns
| Type | Description |
|---|---|
| EmailTableInfo | TableInfo instance of the newly joined-in table |