Click or drag to resize

RoutableDataTableEXTENSION, CTRL, SETTINGS, CORETYPE, DATASOURCETYPE, FIELDTYPE Class

This is a general data table with DataSource, DataSourceField, and colums for TAG_STATUS and TAG_ACTION.

Supports routing.

Requires that SETTINGS is CTObjectTaggedSettingsO.
Inheritance Hierarchy
SystemObject
  CTExtensions.ExportCore.Config.DataMappingDataMappingTable
    CTExtensions.ExportCore.Config.DataMappingDataMappingTableEXTENSION, CTRL, SETTINGS
      CTExtensions.ExportCore.Config.DataMappingRoutableDataTableEXTENSION, CTRL, SETTINGS, CORETYPE, DATASOURCETYPE, FIELDTYPE

Namespace: CTExtensions.ExportCore.Config.DataMapping
Assembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntax
public abstract class RoutableDataTable<EXTENSION, CTRL, SETTINGS, CORETYPE, DATASOURCETYPE, FIELDTYPE> : DataMappingTable<EXTENSION, CTRL, SETTINGS>
where EXTENSION : new(), CTExtension
where CTRL : new(), RoutableDataRowControl<CTRL, DATASOURCETYPE, FIELDTYPE>
where SETTINGS : new(), CTObjectTaggedSettings<CORETYPE>
where CORETYPE : 
where DATASOURCETYPE : class
where FIELDTYPE : class

Type Parameters

EXTENSION
Your CTExtension Type
CTRL
Your RoutableDataRowControl of type RoutableDataRowControlTYPE, DATASOURCETYPE, FIELDTYPE.
SETTINGS
Your settings that derive from CTObjectTaggedSettingsO of type CORETYPE
CORETYPE
ICTObject used with SETTINGS
DATASOURCETYPE
Type of DataSource
FIELDTYPE
Type of DataSourceField

The RoutableDataTableEXTENSION, CTRL, SETTINGS, CORETYPE, DATASOURCETYPE, FIELDTYPE type exposes the following members.

Constructors
 NameDescription
Protected methodRoutableDataTableEXTENSION, CTRL, SETTINGS, CORETYPE, DATASOURCETYPE, FIELDTYPEInitializes a new instance of the RoutableDataTableEXTENSION, CTRL, SETTINGS, CORETYPE, DATASOURCETYPE, FIELDTYPE class
Top
Methods
 NameDescription
Protected methodApplyChanges Saves settings / Creates new objects / renames existing object etc.
Protected methodCanAddNewBinding Check that this row is fully defined and so a new binding row cam be automatically added.
(Overrides DataMappingTableEXTENSION, ROWCONTROLTYPE, SETTINGSCanAddNewBinding)
Public methodClearCaches Clear cached selectable fields and sources.
(Overrides DataMappingTableEXTENSION, ROWCONTROLTYPE, SETTINGSClearCaches)
Protected methodCreateColumnControls Create your columns.
(Overrides DataMappingTableCreateColumnControls)
Protected methodCreateRoutedMapping Creates new routed mapping
Protected methodDataSourceOfField Return source datasource for given field
Protected methodDeleteSettings Delete the CTObject if any. This is called by the framework, you should not!
(Overrides DataMappingTableEXTENSION, ROWCONTROLTYPE, SETTINGSDeleteSettings(SETTINGS))
Protected methodGetAllDatasouces Return everything that is selectable as a data source.
Protected methodGetFieldsOfTable Returns all selectable fields of given datasource.
Protected methodGetObjectHandler Get the Object data handler.
Protected methodGetRoutedFields Returns all routing selectable fields of given datasource. The datasource is obtained using RoutingDatasoureFromField(FIELDTYPE) from the source field.
Protected methodGetSuggestedName Provide "base name" to use for new objects, based on datasource
Protected methodInitNewBinding Initializes properties of newly created binding.
(Overrides DataMappingTableEXTENSION, ROWCONTROLTYPE, SETTINGSInitNewBinding(ROWCONTROLTYPE))
Protected methodIsRoutableSelection return true if given selection is routable to secondary field selection.
Public methodPropertyChanged Event handler for Property Change
(Overrides DataMappingTableEXTENSION, ROWCONTROLTYPE, SETTINGSPropertyChanged(DataMappingRowControl, String))
Public methodRefreshComboContent Event handler for when user opens a combo droplist.
(Overrides DataMappingTableRefreshComboContent(DataMappingRowControl, String))
Protected methodRouteString Provide the string set to RoutedFieldHintText; e.g. "<fromField>.Name -> <toSource>.Name :"
Protected methodRoutingDatasoureFromField Return the routing datasource for the field. This function must return valid datasource if IsRoutableSelection(FIELDTYPE) for field is true.
Protected methodSettingsIsNewsettings is new, if it has CTObject.
(Overrides DataMappingTableEXTENSION, ROWCONTROLTYPE, SETTINGSSettingsIsNew(SETTINGS))
Top
Revision History
DateVersionDescription
-2025 SP1First Release
See Also