Class DynamicContactExtender
Customized dynamic extender for the Contact table
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
[DynamicExtender("contact")]
public class DynamicContactExtender : DynamicExtender, IArchiveProviderQueryMapping, IArchiveDynamicExtender, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible, IArchiveProviderDynamicExtend
Remarks
The following special fields are handled:
nameDepartment - combined name and department
phone/formattedNumber - telephone no.; fax if nothing else exists
address/ a number of fields: addressId, line1 - line3, county, city, zip; includes fallback logic to contact address if no person address
Constructors
DynamicContactExtender()
Set up extender and subextenders
Declaration
public DynamicContactExtender()
Remarks
The following special fields are handled:
nameDepartment - combined name and department
phone/formattedNumber - telephone no.; fax if nothing else exists
address/ a number of fields: addressId, line1 - line3, county, city, zip; includes fallback logic to contact address if no person address
Fields
TableName
Name of handled table
Declaration
public const string TableName = "contact"
Field Value
Type | Description |
---|---|
string |
Remarks
The following special fields are handled:
nameDepartment - combined name and department
phone/formattedNumber - telephone no.; fax if nothing else exists
address/ a number of fields: addressId, line1 - line3, county, city, zip; includes fallback logic to contact address if no person address
_colNameAndDepartment
Name/Department column
Declaration
protected ArchiveColumnInfo _colNameAndDepartment
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Remarks
The following special fields are handled:
nameDepartment - combined name and department
phone/formattedNumber - telephone no.; fax if nothing else exists
address/ a number of fields: addressId, line1 - line3, county, city, zip; includes fallback logic to contact address if no person address
Methods
InnerModifyQuery()
Override: Get fields required for namedepartment
Declaration
protected override void InnerModifyQuery()
Overrides
Remarks
The following special fields are handled:
nameDepartment - combined name and department
phone/formattedNumber - telephone no.; fax if nothing else exists
address/ a number of fields: addressId, line1 - line3, county, city, zip; includes fallback logic to contact address if no person address
InnerPopulateRowFromReader(SoDataReader, ArchiveRow)
Override: Populate namedepartment via helper, the rest goes via subextenders
Declaration
protected override void InnerPopulateRowFromReader(SoDataReader reader, ArchiveRow row)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | |
ArchiveRow | row |
Overrides
Remarks
The following special fields are handled:
nameDepartment - combined name and department
phone/formattedNumber - telephone no.; fax if nothing else exists
address/ a number of fields: addressId, line1 - line3, county, city, zip; includes fallback logic to contact address if no person address