Class LegalBaseExtender
Extender that adds functionality to search for persons using LegalBase
Inheritance
LegalBaseExtender
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public class LegalBaseExtender : TableExtenderBase<ConsentPersonTableInfo>, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible
Constructors
LegalBaseExtender()
Extender that adds functionality to search for persons using LegalBase
Declaration
public LegalBaseExtender()
Properties
TableToExtend
This extender cannot itself be meaningfully extended
Declaration
public override TableInfo TableToExtend { get; }
Property Value
Type | Description |
---|---|
TableInfo |
Overrides
Methods
ConsentKeyToColumnName(string)
Transform a consent purpose key like #EMARKETING into the column name legalBaseEmarketing
Declaration
public static string ConsentKeyToColumnName(string consentPurpose)
Parameters
Type | Name | Description |
---|---|---|
string | consentPurpose |
Returns
Type | Description |
---|---|
string |
InnerModifyQuery()
For each column actually used, generate a join to its corresponding (cached) tableinfo, bind to custom restriction handling
Declaration
protected override void InnerModifyQuery()
Overrides
InnerPopulateRowFromReader(SoDataReader, ArchiveRow)
Populate the archive row with columns that are not handled by the base class
Declaration
protected override void InnerPopulateRowFromReader(SoDataReader reader, ArchiveRow row)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | Reader with data fields |
ArchiveRow | row | Row to be populated |
Overrides
SetJoin()
Dummy - just check that our parent is someone who offers a PersonTableInfo
Declaration
protected override ConsentPersonTableInfo SetJoin()
Returns
Type | Description |
---|---|
ConsentPersonTableInfo |