Class ConsentSourceExtender
Extender that adds functionality to search for persons using ConsentSource
Inheritance
ConsentSourceExtender
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public class ConsentSourceExtender : TableExtenderBase<ConsentPersonTableInfo>, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible
Constructors
ConsentSourceExtender(string)
Extender that adds functionality to search for persons using ConsentSource
Declaration
public ConsentSourceExtender(string iconHint = "Person")
Parameters
| Type | Name | Description |
|---|---|---|
| string | iconHint |
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 consentSourceEmarketing
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 |