Class TextExtenderBase
This is the base class for all extenders that add Text fields to their base query.
The desired name and display name of the text field are passed in as constructor arguments, since specific field names are
much more desirable than using prefixes and a standard name.
Derived classes should implement
the
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public abstract class TextExtenderBase : TableExtenderBase<TextTableInfo>, IArchiveProviderQueryMapping, IArchiveExtender, IArchiveProviderDoesExtend, IArchiveProviderHasColumns, IArchiveProviderExtensible, IPlugin
Constructors
TextExtenderBase(String, String)
Construct the object, setting the text column name and display name. This makes use of the fact that the reflection-based column pickup is triggered on the first column-related request, not during construction of the base class (which would be too early anyway)
Declaration
protected TextExtenderBase(string textColumnName, string textColumnDisplayName)
Parameters
Type | Name | Description |
---|---|---|
System.String | textColumnName | Desired programmatic name of text column |
System.String | textColumnDisplayName | Desired display name of text column |
Fields
_colText
Declaration
protected ArchiveColumnInfo _colText
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
_colTextId
Declaration
protected ArchiveColumnInfo _colTextId
Field Value
Type | Description |
---|---|
ArchiveColumnInfo |
Methods
GetText(SoDataReader)
Declaration
public ArchiveColumnData GetText(SoDataReader reader)
Parameters
Type | Name | Description |
---|---|---|
SoDataReader | reader |
Returns
Type | Description |
---|---|
ArchiveColumnData |
InnerModifyQuery()
Add/map return fields to the query; call SetJoin to obtain the contact table info instance from the derived class
Declaration
protected override void InnerModifyQuery()
Overrides
RequestText()
Declaration
public void RequestText()
RequestTextForRestriction()
Declaration
public void RequestTextForRestriction()