Class ContactSourceContactRelationExtender
Implements an extender that extends contact with relation where the parent contact is the contact on the source side of the relation.
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public class ContactSourceContactRelationExtender : 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 ContactTargetContactRelationExtender.
Constructors
ContactSourceContactRelationExtender()
Initializes the extender
Declaration
public ContactSourceContactRelationExtender()
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 ContactTargetContactRelationExtender.
ContactSourceContactRelationExtender(Features)
Initializes the extender with he given feature bits
Declaration
public ContactSourceContactRelationExtender(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 ContactTargetContactRelationExtender.
Fields
_colRelation
Implements an extender that extends contact with relation where the parent contact is the contact on the source side of the relation.
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 ContactTargetContactRelationExtender.
_relationsTable
Implements an extender that extends contact with relation where the parent contact is the contact on the source side of the relation.
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 ContactTargetContactRelationExtender.
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 ContactTargetContactRelationExtender.
SetJoin()
Overridden set join
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 ContactTargetContactRelationExtender.