Class ContactTargetPersonRelationExtender
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 ContactTargetPersonRelationExtender : RelationPersonExtenderBase, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible, 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 ContactSourceContactRelationExtender.
Constructors
ContactTargetPersonRelationExtender()
Initializes the extender
Declaration
public ContactTargetPersonRelationExtender()
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 ContactSourceContactRelationExtender.
ContactTargetPersonRelationExtender(Features)
Initializes the extender with the given feature bits
Declaration
public ContactTargetPersonRelationExtender(PersonExtenderBase.Features features)
Parameters
Type | Name | Description |
---|---|---|
PersonExtenderBase.Features | features |
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 ContactSourceContactRelationExtender.
Fields
_colRelation
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
Declaration
protected ArchiveColumnInfo _colRelation
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
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 ContactSourceContactRelationExtender.
_relationsTable
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
Declaration
protected RelationsTableInfo _relationsTable
Field Value
Type | Description |
---|---|
RelationsTableInfo |
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 ContactSourceContactRelationExtender.
Methods
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
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 ContactSourceContactRelationExtender.
SetJoin()
Override: Create child contact table (target side), do the joins, and set up base class
Declaration
protected override PersonTableInfo SetJoin()
Returns
Type | Description |
---|---|
PersonTableInfo |
Overrides
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 ContactSourceContactRelationExtender.