Class PersonRelation
Data provider class for the 'Relation' archive under the person card. This class combines output from the eight basic sub-providers (CC, PC, PP and CP plus their reversed cousins) into one data stream.
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("PersonRelation", 1073741823)]
public class PersonRelation : MultiQueryProviderBase, IArchiveMultiQueryProvider, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Constructors
PersonRelation()
Data provider class for the 'Relation' archive under the person card. This class combines output from the eight basic sub-providers (CC, PC, PP and CP plus their reversed cousins) into one data stream.
Declaration
public PersonRelation()
Methods
AcceptRow(ArchiveRow)
Override: Relation rows may contain duplicates, when a relation is between persons under the same contact; then it will be shown under both source and target categories. Here we remove such duplicates, but only for the 'relation' entity (in case someone in the future adds some other kinds of rows)
Declaration
protected override bool AcceptRow(ArchiveRow row)
Parameters
Type | Name | Description |
---|---|---|
ArchiveRow | row |
Returns
Type | Description |
---|---|
bool |
Overrides
RegisterSubProviders()
Data provider class for the 'Relation' archive under the person card. This class combines output from the eight basic sub-providers (CC, PC, PP and CP plus their reversed cousins) into one data stream.
Declaration
protected void RegisterSubProviders()