Class ContactTargetContactRelationExtender
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 ContactTargetContactRelationExtender : RelationContactExtenderBase, 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
ContactTargetContactRelationExtender()
Initializes the extender
Declaration
public ContactTargetContactRelationExtender()
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.
ContactTargetContactRelationExtender(Features)
Initializes the extender with the given feature bits
Declaration
public ContactTargetContactRelationExtender(ContactExtenderBase.Features features)
Parameters
Type | Name | Description |
---|---|---|
ContactExtenderBase.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 ContactTableInfo SetJoin()
Returns
Type | Description |
---|---|
ContactTableInfo |
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.