Class ContactTargetRelationExtender
Implements an extender that extends contact with relation where the parent contact is defined as the source in the relation, but search criteria are placed on the destination
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public class ContactTargetRelationExtender : RelationContactExtenderBase, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible, IPlugin, IRowNavigationHint
Remarks
This class is primarily used for searching, in Find Contact w. friends. Note that the source/target implementations are intentionally not fully symmetrical; when you search for Source - Name you expect a result where name conforms to the search, not those destination contacts that have a conforming source. On the other hand, if the criterion is that Target - Name begins 'a', then you will get the sources that are in relations with such targets. See ContactSourceRelationExtender.
Constructors
ContactTargetRelationExtender()
Initializes the extender
Declaration
public ContactTargetRelationExtender()
ContactTargetRelationExtender(ContactExtenderBase.Features)
Initializes the extender with the given feature bits
Declaration
public ContactTargetRelationExtender(ContactExtenderBase.Features features)
Parameters
Type | Name | Description |
---|---|---|
ContactExtenderBase.Features | features |
Fields
_colRelation
Declaration
protected ArchiveColumnInfo _colRelation
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_relationsTable
Declaration
protected RelationsTableInfo _relationsTable
Field Value
Type | Description |
---|---|
RelationsTableInfo |
Methods
InnerModifyQuery()
Declaration
protected override void InnerModifyQuery()
Overrides
SetJoin()
Override: Create child contact table (target side), do the joins, and set up base class
Declaration
protected override ContactTableInfo SetJoin()
Returns
Type | Description |
---|---|
ContactTableInfo |