Show / Hide Table of Contents

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.

Inheritance
Object
MultiQueryProviderBase
PersonRelation
Implements
IArchiveMultiQueryProvider
IArchiveProvider
IArchiveProviderHasRows
IArchiveProviderHasColumns
IArchiveProviderHasEntities
Inherited Members
MultiQueryProviderBase.InnerPopulateRow(ArchiveRow)
MultiQueryProviderBase.PreGetRows()
MultiQueryProviderBase.GetFinalRowCount()
MultiQueryProviderBase.AddSubProvider<ProviderType>(ProviderType)
MultiQueryProviderBase.RemoveSubProvider<ProviderType>(ProviderType)
MultiQueryProviderBase.SetRestrictionAndDropUnrestrictedProviders(ArchiveRestrictionInfo[])
MultiQueryProviderBase.CreateAndAddProviders(MultiQueryProviderBase.AddProviderInfo[])
MultiQueryProviderBase.Close()
MultiQueryProviderBase.GetReader(String)
MultiQueryProviderBase.GetRows(String)
MultiQueryProviderBase.GetResultInformation()
MultiQueryProviderBase.SetRestriction(ArchiveRestrictionInfo[])
MultiQueryProviderBase.SetPagingInfo(Int32, Int32)
MultiQueryProviderBase.GetAvailableColumns()
MultiQueryProviderBase.SetDesiredColumns(String[])
MultiQueryProviderBase.SetOrderBy(ArchiveOrderByInfo[])
MultiQueryProviderBase.GetAvailableEntities()
MultiQueryProviderBase.SetDesiredEntities(String[])
MultiQueryProviderBase.InhibitParallelStart
MultiQueryProviderBase.Options
MultiQueryProviderBase.OrderBy
MultiQueryProviderBase.InhibitDistinctPrimaryKeys
MultiQueryProviderBase.OrderByRequiresAll
MultiQueryProviderBase.RestrictionRequiresAll
MultiQueryProviderBase.OrderByRequired
MultiQueryProviderBase.RestrictionHelper
MultiQueryProviderBase.ColumnHelper
MultiQueryProviderBase.PageSize
MultiQueryProviderBase.PageNumber
MultiQueryProviderBase.HaveReadToEnd
MultiQueryProviderBase.Providers
MultiQueryProviderBase.DebugXML
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("PersonRelation", 1073741823)]
public class PersonRelation : MultiQueryProviderBase, IArchiveMultiQueryProvider, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities, IPlugin

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
Boolean
Overrides
MultiQueryProviderBase.AcceptRow(ArchiveRow)

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()

Implements

IArchiveMultiQueryProvider
IArchiveProvider
IArchiveProviderHasRows
IArchiveProviderHasColumns
IArchiveProviderHasEntities

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top