Class SelectionStaticContactProvider
Inheritance
SelectionStaticContactProvider
Assembly: SoDataBase.dll
[ArchiveProvider("InnerSelectionStaticContactProvider", 1073741823)]
public class SelectionStaticContactProvider : TypedQueryProviderBase<ArchiveRow, SelectionStaticContactExtender>, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveTypedProvider<ArchiveRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities, IPlugin
Constructors
Declaration
public SelectionStaticContactProvider()
Fields
Have to declare this column so that the restriction system will accept a selectionId restriction... but it is actually populated by the SelectionStaticProvider on our behalf
Declaration
protected ArchiveColumnInfo _colSelectionId
Field Value
Declaration
protected ArchiveColumnInfo _colSelectionMemberId
Field Value
Declaration
public const string ProviderName = "InnerSelectionStaticContactProvider"
Field Value
Properties
Get the table that should provide primary keys; since this is NOT the table of the root extender (that's contact), we have to override here.
Normally, the root extender is the one that "initiates" the query and holds the root table. Instead we have a selectionMember tableinfo
defined locally at the provider level that is supposed to be the root...
Declaration
public override TableInfo PrimaryTable { get; }
Property Value
Overrides
SuperOffice.CRM.ArchiveLists.TypedQueryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveRow, SuperOffice.CRM.ArchiveLists.SelectionStaticContactExtender>.PrimaryTable
Override: While the SelectionStaticContactExtender is about contact, the table to extend here is
actually selection. Not overriding would have passed this on to the SelectionStaticContactExtender -
wrong table, and too early anyway...
Declaration
public override TableInfo TableToExtend { get; }
Property Value
Overrides
SuperOffice.CRM.ArchiveLists.QueryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveRow>.TableToExtend
Methods
Declaration
public override void InnerMapFields()
Overrides
SuperOffice.CRM.ArchiveLists.QueryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveRow>.InnerMapFields()
Declaration
protected override void InnerPopulateRowFromReader(SoDataReader reader, ArchiveRow row)
Parameters
Overrides
SuperOffice.CRM.ArchiveLists.TypedQueryProviderBase<SuperOffice.CRM.ArchiveLists.ArchiveRow, SuperOffice.CRM.ArchiveLists.SelectionStaticContactExtender>.InnerPopulateRowFromReader(SuperOffice.Data.SoDataReader, SuperOffice.CRM.ArchiveLists.ArchiveRow)
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)