Show / Hide Table of Contents

Class TypedMultiQueryProviderBase<RowType>

Base class for multi-channel providers that have a strongly typed archive row type. It will get and set the standard columns from the row type, and cast generic result rows into strongly typed ones.

Inheritance
Object
MultiQueryProviderBase
TypedMultiQueryProviderBase<RowType>
ContactPersonSelectionDynamicProviderSingleCriteriaGroup
FindContactProvider
InvitationProviderCombiner
LinksProvider
Implements
IArchiveMultiQueryProvider
IArchiveTypedProvider<RowType>
IArchiveTypedProviderBase
IArchiveProvider
IArchiveProviderHasRows
IArchiveProviderHasColumns
IArchiveProviderHasEntities
Inherited Members
MultiQueryProviderBase.InnerPopulateRow(ArchiveRow)
MultiQueryProviderBase.AcceptRow(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.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
public abstract class TypedMultiQueryProviderBase<RowType> : MultiQueryProviderBase, IArchiveMultiQueryProvider, IArchiveTypedProvider<RowType>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities, IPlugin where RowType : ArchiveRow, new()
Type Parameters
Name Description
RowType

Constructors

TypedMultiQueryProviderBase()

Create a new, empty provider

Declaration
protected TypedMultiQueryProviderBase()

TypedMultiQueryProviderBase(String[])

Create a new provider, and instantiate the given providers by name (through the factory) and add them to this multichannel provider. Note that all such subproviders have to have archive row types descended from the RowType type parameter to this class

Declaration
protected TypedMultiQueryProviderBase(params string[] providerNames)
Parameters
Type Name Description
String[] providerNames

Zero or more names of providers to instantiate through the factory

Methods

GetRows(String)

Get the rows, as strongly typed elements

Declaration
public IEnumerable<RowType> GetRows(string options)
Parameters
Type Name Description
String options
Returns
Type Description
IEnumerable<RowType>

GetStandardColumnNames()

Get the standard column names from the Archive row type

Declaration
public string[] GetStandardColumnNames()
Returns
Type Description
String[]

SetAdditionalColumns(String[])

Set additional return columns (the standard columns are always included)

Declaration
public void SetAdditionalColumns(params string[] additionalColumns)
Parameters
Type Name Description
String[] additionalColumns

Implements

IArchiveMultiQueryProvider
IArchiveTypedProvider<StronglyTypedRow>
IArchiveTypedProviderBase
IArchiveProvider
IArchiveProviderHasRows
IArchiveProviderHasColumns
IArchiveProviderHasEntities

Extension Methods

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