Class ContactExtenderBase
This is the base class for all extenders that add Contact fields to their base query. It handles all contact-related fields,
as well as having its own standard extenders for udef, email, url, phone and fax. Derived classes should simply implement
the method to join a ContactTableInfo to the .
Inheritance
ContactExtenderBase
Assembly: SoDataBase.dll
Syntax
public abstract class ContactExtenderBase : TableExtenderBase<ContactTableInfo>, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible, IPlugin
Constructors
ContactExtenderBase()
Declaration
public ContactExtenderBase()
ContactExtenderBase(ContactExtenderBase.Features)
Declaration
public ContactExtenderBase(ContactExtenderBase.Features features)
Parameters
Fields
_colActiveErpLinks
Declaration
protected ArchiveColumnInfo _colActiveErpLinks
Field Value
_colAssociateId
Declaration
protected ArchiveColumnInfo _colAssociateId
Field Value
_colBusiness
Declaration
protected ArchiveColumnInfo _colBusiness
Field Value
_colCategory
Declaration
protected ArchiveColumnInfo _colCategory
Field Value
_colCode
Declaration
protected ArchiveColumnInfo _colCode
Field Value
_colContactId
Declaration
protected ArchiveColumnInfo _colContactId
Field Value
_colCountry
Declaration
protected ArchiveColumnInfo _colCountry
Field Value
_colCountryId
Declaration
protected ArchiveColumnInfo _colCountryId
Field Value
_colDeleted
Declaration
protected ArchiveColumnInfo _colDeleted
Field Value
_colDeletedDate
Declaration
protected ArchiveColumnInfo _colDeletedDate
Field Value
_colDepartment
Declaration
protected ArchiveColumnInfo _colDepartment
Field Value
_colHasInfoText
Declaration
protected ArchiveColumnInfo _colHasInfoText
Field Value
_colHasInterests
Declaration
protected ArchiveColumnInfo _colHasInterests
Field Value
_colMainContact
Declaration
protected ArchiveColumnInfo _colMainContact
Field Value
_colName
Declaration
protected ArchiveColumnInfo _colName
Field Value
_colNameAndDepartment
Declaration
protected ArchiveColumnInfo _colNameAndDepartment
Field Value
_colNoMail
Declaration
protected ArchiveColumnInfo _colNoMail
Field Value
_colNumber
Declaration
protected ArchiveColumnInfo _colNumber
Field Value
_colOrgNr
Declaration
protected ArchiveColumnInfo _colOrgNr
Field Value
_colPhone
Declaration
protected ArchiveColumnInfo _colPhone
Field Value
_colRegisteredBy
Declaration
protected ArchiveColumnInfo _colRegisteredBy
Field Value
_colRegisteredByFullName
Declaration
protected ArchiveColumnInfo _colRegisteredByFullName
Field Value
_colRegisteredDate
Declaration
protected ArchiveColumnInfo _colRegisteredDate
Field Value
_colSource
Declaration
protected ArchiveColumnInfo _colSource
Field Value
_colStop
Declaration
protected ArchiveColumnInfo _colStop
Field Value
_colUpdatedBy
Declaration
protected ArchiveColumnInfo _colUpdatedBy
Field Value
_colUpdatedByFullName
Declaration
protected ArchiveColumnInfo _colUpdatedByFullName
Field Value
_colUpdatedDate
Declaration
protected ArchiveColumnInfo _colUpdatedDate
Field Value
ColCategory
Declaration
public const string ColCategory = "category"
Field Value
ColContactId
Declaration
public const string ColContactId = "contactId"
Field Value
Properties
DropStoppedContacts
Declaration
public bool DropStoppedContacts { get; set; }
Property Value
Methods
GetNameAndDepartment(SoDataReader)
Declaration
public ArchiveColumnData GetNameAndDepartment(SoDataReader reader)
Parameters
Returns
Initialize(ContactExtenderBase.Features)
Construct the extender and add all standard extenders
Declaration
public void Initialize(ContactExtenderBase.Features features)
Parameters
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.ContactTableInfo>.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.ContactTableInfo>.InnerPopulateRowFromReader(SuperOffice.Data.SoDataReader, SuperOffice.CRM.ArchiveLists.ArchiveRow)
SetRestriction(ArchiveRestrictionInfo[])
Declaration
public override bool SetRestriction(params ArchiveRestrictionInfo[] restrictions)
Parameters
Returns
Overrides
StandardNameDept()
Declaration
public static ArchiveColumnInfo StandardNameDept()
Returns
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)