Class CombinedPersonExtenderBase
This base class defines a person extender basis that is 'compatible' with a contact extender, mainly by defining a 'who' column that is mapped to full name. The CombinedContactExtenderBase also defines this column, so that a result set can show both contact and person information in the same column on different rows.
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public abstract class CombinedPersonExtenderBase : PersonExtenderBase, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible
Constructors
CombinedPersonExtenderBase()
Default constructor, requests a standard set of person features (shallow contact, email, phones, address, udef, interest, no contact prefix)
Declaration
protected CombinedPersonExtenderBase()
CombinedPersonExtenderBase(Features)
Constructor used to request specific person features
Declaration
protected CombinedPersonExtenderBase(PersonExtenderBase.Features features)
Parameters
Type | Name | Description |
---|---|---|
PersonExtenderBase.Features | features |
Fields
_colWho
This base class defines a person extender basis that is 'compatible' with a contact extender, mainly by defining a 'who' column that is mapped to full name. The CombinedContactExtenderBase also defines this column, so that a result set can show both contact and person information in the same column on different rows.
Declaration
protected ArchiveColumnInfo _colWho
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Properties
ContactIdField
Override: Since we KNOW we have a contact parent, let it supply the contact ID. This will provide a valid contact ID even if a missed outer join causes the current person data to be null.
Declaration
protected override FieldInfo ContactIdField { get; }
Property Value
Type | Description |
---|---|
FieldInfo |
Overrides
Methods
InnerPopulateRowFromReader(SoDataReader, ArchiveRow)
Populate the 'who' field with data from fullnamewithcontact
Declaration
protected override void InnerPopulateRowFromReader(SoDataReader reader, ArchiveRow row)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | |
ArchiveRow | row |
Overrides
SetDesiredColumns(params string[])
Override used to intercept requests for full name with contact; we need to ask our parent contact extender to please fetch the contact name+department
Declaration
public override void SetDesiredColumns(params string[] columnIds)
Parameters
Type | Name | Description |
---|---|---|
string[] | columnIds |