Show / Hide Table of Contents

Class SelectionProvider

Inheritance
object
MultiQueryProviderBase
SelectionProviderBase
SelectionProvider
Implements
IArchiveMultiQueryProvider
IArchiveProvider
IArchiveProviderHasRows
IArchiveProviderHasColumns
IArchiveProviderHasEntities
Inherited Members
SelectionProviderBase.ColumnSelectionId
SelectionProviderBase._staticProviderName
SelectionProviderBase._dynamicProviderName
SelectionProviderBase._combinedProviderName
SelectionProviderBase._staticProvider
SelectionProviderBase._dynamicProvider
SelectionProviderBase._combinedProvider
SelectionProviderBase.SetSelectionRestricion(ArchiveRestrictionInfo[], SelectionRow)
SelectionProviderBase.GetRowsAsync(string, CancellationToken)
MultiQueryProviderBase.InnerPopulateRow(ArchiveRow)
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.SetDesiredColumns(params string[])
MultiQueryProviderBase.SetOrderBy(ArchiveOrderByInfo[])
MultiQueryProviderBase.GetAvailableEntities()
MultiQueryProviderBase.SetDesiredEntities(params 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
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[ArchiveProvider("ContactSelection", 1073741823)]
public class SelectionProvider : SelectionProviderBase, IArchiveMultiQueryProvider, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities

Constructors

SelectionProvider()

Declaration
public SelectionProvider()

Fields

ColumnSelectionMemberId

Declaration
public const string ColumnSelectionMemberId = "selectionMemberId"
Field Value
Type Description
string

ProviderName

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

Methods

GetContactSelectionMembersRowsAsync(int, string[], bool, CancellationToken)

Retrieve all selection members for a given selection

Declaration
public static IAsyncEnumerable<ArchiveRow> GetContactSelectionMembersRowsAsync(int selectionId, string[] returnColumns, bool includeStopped, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int selectionId

Identity of selection to get members from

string[] returnColumns

Name of columns to return

bool includeStopped

Include contacts marked with stop

CancellationToken cancellationToken
Returns
Type Description
IAsyncEnumerable<ArchiveRow>

All selection members for given selection

SetRestriction(ArchiveRestrictionInfo[])

Override: Handle aspects of restrictions that are common to static and dynamic selections, and prepare the restriction set slightly. More special handling occurs in SelectionContactPersonExtender and SelectionDynamicContactExtender, where the default + special handling of stop, retired and noDM is done.

Declaration
public override bool SetRestriction(ArchiveRestrictionInfo[] restrictions)
Parameters
Type Name Description
ArchiveRestrictionInfo[] restrictions
Returns
Type Description
bool
Overrides
SelectionProviderBase.SetRestriction(ArchiveRestrictionInfo[])

Implements

IArchiveMultiQueryProvider
IArchiveProvider
IArchiveProviderHasRows
IArchiveProviderHasColumns
IArchiveProviderHasEntities

Extension Methods

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