Class RelationProvider
Data provider class for the 'Relation' archive under the company card. This class combines output from the up to 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("Relation", 1073741823)]
public class RelationProvider : MultiQueryProviderBase, IArchiveMultiQueryProvider, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities, IPlugin
Constructors
RelationProvider()
Data provider class for the 'Relation' archive under the company card. This class combines output from the up to eight basic sub-providers (CC, PC, PP and CP plus their reversed cousins) into one data stream.
Declaration
public RelationProvider()
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 |
---|---|
Boolean |
Overrides
RegisterSubProviders()
Data provider class for the 'Relation' archive under the company card. This class combines output from the up to eight basic sub-providers (CC, PC, PP and CP plus their reversed cousins) into one data stream.
Declaration
protected void RegisterSubProviders()