Show / Hide Table of Contents

Class ContactPersonSelectionDynamicProviderV2

Contact + Person selection archive with OR-able selection groups. Each group is represented with the SaleSelectionDynamicProviderSingleCriteriaGroup.

Inheritance
object
MultiQueryProviderBase
MultiQueryProviderBaseWithRestrictionGroups
DynamicSelectionMultiCriteriaGroupBase
ContactPersonSelectionDynamicProviderV2
Implements
IArchiveMultiQueryProvider
IArchiveCombinedContactPersonProvider
IArchiveProvider
IArchiveProviderHasRows
IArchiveProviderHasColumns
IArchiveProviderHasEntities
Inherited Members
DynamicSelectionMultiCriteriaGroupBase._colSelectionId
DynamicSelectionMultiCriteriaGroupBase._colRowKind
DynamicSelectionMultiCriteriaGroupBase.SetRestriction(ArchiveRestrictionInfo[])
DynamicSelectionMultiCriteriaGroupBase.InnerPopulateRow(ArchiveRow)
DynamicSelectionMultiCriteriaGroupBase.GetRowsAsync(string, CancellationToken)
DynamicSelectionMultiCriteriaGroupBase.SubProviderName
DynamicSelectionMultiCriteriaGroupBase.StorageKeyRestrictionName
DynamicSelectionMultiCriteriaGroupBase.RestrictionStorageKey
MultiQueryProviderBaseWithRestrictionGroups.SetDesiredColumns(params string[])
MultiQueryProviderBaseWithRestrictionGroups.SetOrderBy(ArchiveOrderByInfo[])
MultiQueryProviderBaseWithRestrictionGroups.GetFirstProvider()
MultiQueryProviderBase.AcceptRow(ArchiveRow)
MultiQueryProviderBase.PreGetRows()
MultiQueryProviderBase.GetFinalRowCount()
MultiQueryProviderBase.AddSubProvider<ProviderType>(ProviderType)
MultiQueryProviderBase.RemoveSubProvider<ProviderType>(ProviderType)
MultiQueryProviderBase.SetRestrictionAndDropUnrestrictedProviders(ArchiveRestrictionInfo[])
MultiQueryProviderBase.CreateAndAddProvidersAsync(MultiQueryProviderBase.AddProviderInfo[])
MultiQueryProviderBase.Close()
MultiQueryProviderBase.GetReaderAsync(string, CancellationToken)
MultiQueryProviderBase.GetResultInformationAsync()
MultiQueryProviderBase.SetPagingInfo(int, int)
MultiQueryProviderBase.GetAvailableColumns()
MultiQueryProviderBase.GetAvailableEntities()
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
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.ArchiveLists.Archive
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[ArchiveProvider("ContactPersonDynamicSelectionV2", 1073741823)]
public class ContactPersonSelectionDynamicProviderV2 : DynamicSelectionMultiCriteriaGroupBase, IArchiveMultiQueryProvider, IArchiveCombinedContactPersonProvider, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities

Constructors

ContactPersonSelectionDynamicProviderV2()

Contact + Person selection archive with OR-able selection groups. Each group is represented with the SaleSelectionDynamicProviderSingleCriteriaGroup.

Declaration
public ContactPersonSelectionDynamicProviderV2()

ContactPersonSelectionDynamicProviderV2(string)

Contact + Person selection archive with OR-able selection groups. Each group is represented with the SaleSelectionDynamicProviderSingleCriteriaGroup.

Declaration
public ContactPersonSelectionDynamicProviderV2(string context)
Parameters
Type Name Description
string context

Fields

ProviderName

Contact + Person selection archive with OR-able selection groups. Each group is represented with the SaleSelectionDynamicProviderSingleCriteriaGroup.

Declaration
public const string ProviderName = "ContactPersonDynamicSelectionV2"
Field Value
Type Description
string

Properties

IsInPersonMode

Is the provider operating in Person mode; if false, Contact mode is running

Declaration
public bool IsInPersonMode { get; }
Property Value
Type Description
bool

Methods

ForcePersonMode(bool)

Contact + Person selection archive with OR-able selection groups. Each group is represented with the SaleSelectionDynamicProviderSingleCriteriaGroup.

Declaration
public void ForcePersonMode(bool mode = true)
Parameters
Type Name Description
bool mode

ModifyRestrictionGroup(IArchiveProvider, ArchiveRestrictionInfo[])

Contact + Person selection archive with OR-able selection groups. Each group is represented with the SaleSelectionDynamicProviderSingleCriteriaGroup.

Declaration
protected override ArchiveRestrictionInfo[] ModifyRestrictionGroup(IArchiveProvider provider, ArchiveRestrictionInfo[] resGroup)
Parameters
Type Name Description
IArchiveProvider provider
ArchiveRestrictionInfo[] resGroup
Returns
Type Description
ArchiveRestrictionInfo[]
Overrides
MultiQueryProviderBaseWithRestrictionGroups.ModifyRestrictionGroup(IArchiveProvider, ArchiveRestrictionInfo[])

SetDesiredEntities(params string[])

Store the desired entities, so they don't get lost until SetRestrictions tells us what to do

Declaration
public override void SetDesiredEntities(params string[] entities)
Parameters
Type Name Description
string[] entities
Overrides
MultiQueryProviderBaseWithRestrictionGroups.SetDesiredEntities(params string[])

Implements

IArchiveMultiQueryProvider
IArchiveCombinedContactPersonProvider
IArchiveProvider
IArchiveProviderHasRows
IArchiveProviderHasColumns
IArchiveProviderHasEntities

Extension Methods

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