Class FormFieldsExtender
Extender that adds functionality for dynamic form (submission) fields
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public class FormFieldsExtender : TableExtenderBase<FormFieldValueTableInfo>, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible
Constructors
FormFieldsExtender()
For each ConsentPurpose with key #XYZ, generate a boolean column called hasXyxConsent (note casing); inherit the name and description from the consent purpose entry
Declaration
public FormFieldsExtender()
FormFieldsExtender(string)
Extender that adds functionality for dynamic form (submission) fields
Declaration
public FormFieldsExtender(string context)
Parameters
Type | Name | Description |
---|---|---|
string | context |
Methods
DbSupportIsOk()
Column and corresponding cached info
Declaration
public static bool DbSupportIsOk()
Returns
Type | Description |
---|---|
bool |
Init(string)
Extender that adds functionality for dynamic form (submission) fields
Declaration
public void Init(string context)
Parameters
Type | Name | Description |
---|---|---|
string | context |
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)
Derived classes should implement the population of ColumnData items for columns that are NOT handled by this base class in this method. Whether a column is handled by this base class is part of its database binding information, set by the various MapXXX methods.
Declaration
protected override void InnerPopulateRowFromReader(SoDataReader reader, ArchiveRow row)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader | Data reader with the query result (one row) |
ArchiveRow | row | archive row to be populated |
Overrides
SetJoin()
Dummy - just check that our parent is someone who offers a PersonTableInfo
Declaration
protected override FormFieldValueTableInfo SetJoin()
Returns
Type | Description |
---|---|
FormFieldValueTableInfo |