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 ExtenderBase.SetJoin method to join a ContactTableInfo to the RootQuery.
Inheritance
ContactExtenderBase
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public abstract class ContactExtenderBase : TableExtenderBase<ContactTableInfo>, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible
Constructors
ContactExtenderBase()
Declaration
public ContactExtenderBase()
ContactExtenderBase(Features, string)
Declaration
public ContactExtenderBase(ContactExtenderBase.Features features, string iconHint = "Contact")
Parameters
Fields
ColCategory
Declaration
public const string ColCategory = "category"
Field Value
ColContactId
Declaration
public const string ColContactId = "contactId"
Field Value
_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
_colCategoryGroup
Declaration
protected ArchiveColumnInfo _colCategoryGroup
Field Value
_colCategoryRank
Declaration
protected ArchiveColumnInfo _colCategoryRank
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
_colForceCompany
Declaration
protected ArchiveColumnInfo _colForceCompany
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
Properties
DropStoppedContacts
Declaration
public bool DropStoppedContacts { get; set; }
Property Value
TicketPriority
Declaration
public static ArchiveColumnInfo TicketPriority { get; }
Property Value
Methods
GetNameAndDepartment(SoDataReader)
Declaration
public ArchiveColumnData GetNameAndDepartment(SoDataReader reader)
Parameters
Returns
Initialize(Features, string)
Construct the extender and add all standard extenders
Declaration
public void Initialize(ContactExtenderBase.Features features, string iconHint)
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
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
SetRestriction(params ArchiveRestrictionInfo[])
Set the restriction for the query. This method sets the restrictions for this provider,
as well as invoking the same call on all known extenders. Recursion will take it to the bottom.
This method actually only saves the restriction specification for use during query processing.
Declaration
public override bool SetRestriction(params ArchiveRestrictionInfo[] restrictions)
Parameters
Returns
Overrides
StandardNameDept()
Declaration
public static ArchiveColumnInfo StandardNameDept()
Returns
Implements
Extension Methods