DLADataSetContainer

Dataset container for the IDEA simulator

Package DLAFormfactory
Author Bert Dingemans
Alias --
Stereotypes --

Attributes

Name Type Cardinality Description
objDS DataSet 1 - 1--
Repository EA.Repository 1 - 1--

Methods

Name Type Description
AddEnumeration BooleanAdd an enumation to the system table in a structured format

@returns
Attributes2Dataset BooleanBring the attributes from an element to a datatable (columns)

@returns
AttributeType2Control String--
Connectors2DataSet BooleanCreate connectors in the dataset from the connectors in EA

@returns
DefaultLookup BooleanWhen there is no lookup defined create a lookup based on the scope public of the attributes

@returns
Inheritance2DataSet BooleanTransform the inheritance structure to a list of datacolumns in the datatable

@returns
AddControl BooleanAdd a control to the controls system table

@returns
AddConditions BooleanAdd a constraint collection from the ea element and transform it to a validation calculated field

@returns
AddControl BooleanAdd a control to the systemtable with controls

@returns
AddCalculatedColumn DataColumnAdd a calculated column based on an expression

@returns
AddColumn DataColumnAdd a column to a datatable with extra parameters for dbnull

@returns
LookupToCommand BooleanTransform a Lookup definitie to a SQL select statement

@returns
AddPrimaryKey BooleanAdd a primary key to the datatable based on a column name

@returns
AddColumn DataColumnAdd a datacolumn to a datatable in a default format

@returns
SaveDataToXML --Save the dataset to a XML file
LoadDataFromXML --Load the datatable content from a XML file
LoadDataFromSQL --Load the tables from a sql data source
GetDataViewFromTable DataViewGet an empty dataview for a table

@returns
GetCommandForTable DataTableGet a commands from the system table with commands

@returns
GetEnumeration DataTableGet an enumeration from the enumeration system table

@returns
GetControlsForTable DataViewcreate a view with a list of controls for a table

@returns
CreateRelationTable BooleanCreate a system table for the relations for processing in the simulator and the form factory

@returns
CreateEnumerationTable Booleantransform an enumeration to the content of the enumeration system table

@returns
Table2Where Stringcreate a where statement for a datatable

@returns
DataTable2List StringTransform a datatable to a search select statement

@returns Select
DataTable2Detail StringTransform a datatable to an one row select statement

@returns Select statement
DataTable2Update StringTransform a datatable to an update statement

@returns Update statement
DataTable2Delete StringTransform a datatable to an delete statement

@returns Delete statement
DataTable2Insert StringTransform a datatable to an insert statement

@returns Insert statement
Column2ParaMeter StringTransform a columnname to a default parameter template

@returns Parameter template
AddRelation BooleanAdd a relation between the parent and the child object and combine it with a defined lookup

@returns
AddCommand BooleanAdd a command to the command systemtable

@returns
AddExtraTable BooleanAdd extra tables to the dataet for various system settings of the simulator

@returns
CreateCommandTable BooleanCreate the structure of the sys_command datatable

@returns
DataTable2Command BooleanTransform the datatables in the tables collection to sql statments for insert update etc

@returns
CreateControlTable BooleanCreate a control table and define the columns Control table is relevant for the simulator user interface

@returns
AddTable DataTableAdd a datatable to the dataset

@returns
AddTable DataTableAdd an empty datatable to the dataset

@returns
New --Instantiate the simulator dataset container
ContainerDataSet DataSetGet the dataset with the simulator elements

@returns Dataset
GetDataTable DataTableGet a datatable from the dataset by name

@returns

Diagrams