Show / Hide Table of Contents

Class EMailAddressProvider

Special purpose archive provider used to search for email addresses.

Inheritance
object
MultiQueryProviderBase
EMailAddressProvider
Implements
IArchiveMultiQueryProvider
IArchiveProvider
IArchiveProviderHasRows
IArchiveProviderHasColumns
IArchiveProviderHasEntities
Inherited Members
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.GetRowsAsync(string, CancellationToken)
MultiQueryProviderBase.GetResultInformationAsync()
MultiQueryProviderBase.SetRestriction(ArchiveRestrictionInfo[])
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("EmailAddress", 1073741823)]
public class EMailAddressProvider : MultiQueryProviderBase, IArchiveMultiQueryProvider, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Remarks

This provider combines two subchannels, one for Person and one for Contact related addresses. Each channel will match on either the email address itself, or some relevant naming information (such as contact name or person name or whatever).

The resulting rows will have entity names reflecting the type of match, but the primary key will always be the email_id.

Constructors

EMailAddressProvider()

So far, two subchannels: Person and Contact

Declaration
public EMailAddressProvider()
Remarks

This provider combines two subchannels, one for Person and one for Contact related addresses. Each channel will match on either the email address itself, or some relevant naming information (such as contact name or person name or whatever).

The resulting rows will have entity names reflecting the type of match, but the primary key will always be the email_id.

Fields

ProviderName

Special purpose archive provider used to search for email addresses.

Declaration
public const string ProviderName = "EmailAddress"
Field Value
Type Description
string
Remarks

This provider combines two subchannels, one for Person and one for Contact related addresses. Each channel will match on either the email address itself, or some relevant naming information (such as contact name or person name or whatever).

The resulting rows will have entity names reflecting the type of match, but the primary key will always be the email_id.

Methods

InnerPopulateRow(ArchiveRow)

Subproviders cannot be relied on to set the email_id link hint on the row level so we do it here, replacing any value that was already there

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

This provider combines two subchannels, one for Person and one for Contact related addresses. Each channel will match on either the email address itself, or some relevant naming information (such as contact name or person name or whatever).

The resulting rows will have entity names reflecting the type of match, but the primary key will always be the email_id.

Implements

IArchiveMultiQueryProvider
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