Class SelectionStaticContactProvider
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
[ArchiveProvider("InnerSelectionStaticContactProvider", 1073741823)]
public class SelectionStaticContactProvider : TypedQueryProviderBase<ArchiveRow, SelectionStaticContactExtender>, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveTypedProvider<ArchiveRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Constructors
SelectionStaticContactProvider()
Declaration
public SelectionStaticContactProvider()
Fields
ProviderName
Declaration
public const string ProviderName = "InnerSelectionStaticContactProvider"
Field Value
Type | Description |
---|---|
string |
_colSelectionId
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
Type | Description |
---|---|
ArchiveColumnInfo |
_colSelectionMemberId
Declaration
protected ArchiveColumnInfo _colSelectionMemberId
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Properties
PrimaryTable
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
Type | Description |
---|---|
TableInfo |
Overrides
TableToExtend
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
Type | Description |
---|---|
TableInfo |
Overrides
Methods
InnerMapFields()
Override this method to map query fields to columns, add additional return fields to the query, and set up custom restriction handling
Declaration
public override void InnerMapFields()
Overrides
InnerPopulateRowFromReader(SoDataReader, ArchiveRow)
Override: If no-one in the subclass has set the link hint up to now, then do so, using the row entity name and primary key
Declaration
protected override void InnerPopulateRowFromReader(SoDataReader reader, ArchiveRow row)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | |
ArchiveRow | row |