Show / Hide Table of Contents

Class FindContactProvider

Inheritance
object
MultiQueryProviderBase
TypedMultiQueryProviderBase<ArchiveFindContactRow>
FindContactProvider
Implements
IArchiveMultiQueryProvider
IArchiveFindContactProvider
IArchiveFindProviderBase<ArchiveFindContactRow>
IArchiveTypedProvider<ArchiveFindContactRow>
IArchiveTypedProviderBase
IArchiveProvider
IArchiveProviderHasRows
IArchiveProviderHasColumns
IArchiveProviderHasEntities
Inherited Members
TypedMultiQueryProviderBase<ArchiveFindContactRow>.GetRowsAsync(CancellationToken)
TypedMultiQueryProviderBase<ArchiveFindContactRow>.GetRowsAsync(string, CancellationToken)
TypedMultiQueryProviderBase<ArchiveFindContactRow>.GetStandardColumnNames()
TypedMultiQueryProviderBase<ArchiveFindContactRow>.SetAdditionalColumns(params string[])
MultiQueryProviderBase.AcceptRow(ArchiveRow)
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.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("FindContact", 1073741823)]
public class FindContactProvider : TypedMultiQueryProviderBase<ArchiveFindContactRow>, IArchiveMultiQueryProvider, IArchiveFindContactProvider, IArchiveFindProviderBase<ArchiveFindContactRow>, IArchiveTypedProvider<ArchiveFindContactRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities

Constructors

FindContactProvider()

Declaration
public FindContactProvider()

Fields

ProviderName

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

Methods

FetchAndSetCriteria(int)

In one operation, fetch the criteria from the database, set them on the provider, and return the criteria

Declaration
public ArchiveRestrictionInfo[] FetchAndSetCriteria(int ownerAssociate)
Parameters
Type Name Description
int ownerAssociate

Id of associate who owns the criteria

Returns
Type Description
ArchiveRestrictionInfo[]

Current criteria set (only active, set values; not all possible criteria)

InnerPopulateRow(ArchiveRow)

Override: For each desired output column that matches one of the twochannel search columns, make sure to map and merge the actual prefixed values into what was originally ordered

Declaration
protected override void InnerPopulateRow(ArchiveRow row)
Parameters
Type Name Description
ArchiveRow row
Overrides
MultiQueryProviderBase.InnerPopulateRow(ArchiveRow)

PreGetRows()

Override: For each desired output column that matches one of the twochannel search columns, make sure to order the correctly prefixed version of this column from the relevant channel

Declaration
protected override void PreGetRows()
Overrides
MultiQueryProviderBase.PreGetRows()

SetDesiredColumns(params string[])

Override: Intercept and remove columns that match our twochannel search columns, since we'll be manipulating them

Declaration
public override void SetDesiredColumns(params string[] columnIds)
Parameters
Type Name Description
string[] columnIds
Overrides
MultiQueryProviderBase.SetDesiredColumns(params string[])

SetRestriction(ArchiveRestrictionInfo[])

Override: Set restrictions on provider - if the 'criteriaAssociate' restriction is passed in, actual restrictions will be fetched from restriction storage, and those will be set; otherwise simply set what was passed in

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

Implements

IArchiveMultiQueryProvider
IArchiveFindContactProvider
IArchiveFindProviderBase<TypedRow>
IArchiveTypedProvider<StronglyTypedRow>
IArchiveTypedProviderBase
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