Class SelectionStaticPersonProvider
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.BusinessLogic.dll
Syntax
[ArchiveProvider("InnerSelectionStaticPersonProvider", 1073741823)]
public class SelectionStaticPersonProvider : TypedQueryProviderBase<ArchiveRow, SelectionStaticPersonExtender>, IArchiveProviderQueryMapping, IArchiveQueryProvider, IArchiveProviderExtensible, IArchiveTypedProvider<ArchiveRow>, IArchiveTypedProviderBase, IArchiveProvider, IArchiveProviderHasRows, IArchiveProviderHasColumns, IArchiveProviderHasEntities
Constructors
SelectionStaticPersonProvider()
Declaration
public SelectionStaticPersonProvider()
Fields
ProviderName
Declaration
public const string ProviderName = "InnerSelectionStaticPersonProvider"
Field Value
| Type | Description |
|---|---|
| string |
_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 SelectionStaticPersonExtender is about person, the table to extend here is actually selection. Not overriding would have passed this on to the SelectionStaticPersonExtender - wrong table, and too early anyway...
Declaration
public override TableInfo TableToExtend { get; }
Property Value
| Type | Description |
|---|---|
| TableInfo |
Overrides
Methods
InnerMapFieldsAsync(CancellationToken)
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 Task InnerMapFieldsAsync(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task |
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 |