MID - the modeling company Home Search Tcl Script Help Tcl Script Help Contact Support

Modifying Server Commands: ERM

In addition to the following commands, there is a number of general commands, which can be applied in all methods.


General table commands

inom_ERTableImplModify Modify implementations.

ER Diagram

inom_ERDiaCreate Create an (S)ER diagram.
See also:

Arguments for selects, infos and views on ERDiagram.


ER Entity

inom_EREntityCreate Create an ER entity.
inom_EREntityAdd Add an ER entity to a diagram.
inom_EREntityModifyNames Modify an ER entity's or an R type's name and software name.
inom_EREntityModifyProps Switch between entity and R type, or modify node maintenance.
inom_EREntityModifyDisplay Modify diagram nodes' display.
See also:

Arguments for selects, infos and views on ERDEntity.
Arguments for selects, infos and views on ERMEntity.


Relationship

inom_ERRelCreate Create an ER relationship or generalization.
inom_ERRelAdd Add an ER relationship or generalization to a diagram.
inom_ERRelSpecAdd Add a single specialization edge to a relationship in a diagram.
inom_ERRelModify Modify an ER relationship or generalization.
inom_ERRoleModify Modify a role name or multiplicity.
See also:

Arguments for selects, infos and views on ERDRelationship.
Arguments for selects, infos and views on ERMRelationship.
Arguments for selects, infos and views on PolyEREntRs.
Arguments for selects, infos and views on ERMEntRs.


ER Attribute

inom_ERAttrCreate Create an attribute in an entity or database table.
inom_ERAttrModify Modify an attribute in a entity or database table.
inom_ERAttrAssign Assign attributes to database tables.
inom_ERAttrPFAssign Assign attributes to a primary/foreign key.
See also:

Arguments for selects, infos and views on ERMAttribute.
Arguments for infos on ERMAttrOpt.


Constraint

inom_ERConstrCreate Create a constraint.
inom_ERConstrAdd Add a constraint to a table.
inom_ERConstrModify Modify a constraint.
See also:

Arguments for selects, infos and views on ERConstraint.
Arguments for infos and views on ERConTab.


Database Table

inom_ERDBTableCreate Create database tables for ER entities or R types.
inom_ERDBEntityModify Modify the number of instances in merged tables.
inom_ERDBTableAttach Attach a database table to the CSD.
inom_ERDBTableDetach Detach a database table from the CSD.
inom_ERDBTableMerge Merge a database table with a relation/role.
inom_ERDBTableSplit Split a database table.

Arguments for selects, infos and views on ERMDBTable.
Arguments for infos and views on ERMDBEntity.
Arguments for infos on ERMTabOpt.


Database Attributes

inom_ERAttrMerge Merge attributes.
inom_ERAttrSplit Split a merged attribute.

Index

inom_ERIndexCreate Create an index.
inom_ERIndexAdd Add attributes to an index.
inom_ERIndexModify Modify an index.
See also:

Arguments for infos and views on ERMIndex.
Arguments for views on ERMIndAttr.
Arguments for infos and views on ERMAttrSpec.
Arguments for infos and views on ERMSpecimen.
Arguments for infos on ERMIndOpt.
Arguments for infos on ERMIaOpt.


Key

inom_ERPrimKeyCreate Create a primary key.
inom_ERForKeyCreate Create a foreign key.
See also:

Arguments for infos and views on ERMPrimKey.
Arguments for infos and views on ERMForKey.
Arguments for infos on ERMPrimOpt.
Arguments for infos on ERMForOpt.


Data Element

inom_ERDETableCreate Create a data element table.
inom_ERDataElementCreate Create a data element.
inom_ERDataElementAdd Add data elements to a data element table.
inom_ERDataElementModify Modify the target system type of a data element.
inom_ERDataElementAssign Assign a data element to attributes.
See also:

Arguments for selects, infos and views on ERMDataElement.
Arguments for selects, infos and views on ERMDeTable.


View

inom_ERViewCreate Create a view.
inom_ERViewModify Modify a view's name and software name.
inom_DDComponentAdd Add components to a view.
inom_DDComponentModify Modify DDComponents.
inom_DDComponentSelection Group attributes.
Destroy attribute groups.

The renaming od DDEntities can be achieved with the command inom_ModifyName.
See also:

Arguments for selects, infos and views on DDView.
Arguments for selects, infos and views on DDEntity.
Arguments for selects, infos and views on DDComponent.


Data Base Views

inom_ERDBViewCreate Create a Database View.
inom_ERDBViewSQLModify Modify a view's SQL statement.

Changing the alias name of a SELECT statement can be achieved calling inom_ModifyName for the column Id.
Changing the alias name of a FROM statement can be achieved calling inom_ModifyShortname for the from Id.
Removing FROM statements can be achieved applying inom_Delete for the appropriate ERMDBVFrom Id.
See also:

Arguments for selects, infos and views on ERMDBView.
Arguments for selects, infos and views on ERMDBVColumn.
Arguments for selects, infos and views on ERMDBVFrom.