To set model options for references, select
Options, and select the Reference sub-category in the left-hand Category pane.
Option |
Function |
---|---|
Unique code |
Requires that references have unique codes. If this option is not selected then different references can have the same code (except when two references share the same child table). |
Auto-reuse / Auto-migrate columns |
Enable the reuse of columns in child tables as foreign key columns and the migration of primary key columns to child tables during the creation of references (see Automatic Reuse and Migration of Columns). |
Mandatory parent |
Specifies that the relationship between child and parent tables is, by default, mandatory, i.e., each foreign key value in the child table must have a corresponding key value, in the parent table. |
Change parent allowed |
Specifies that a foreign key value can change to select another value in the referenced key in the parent table. |
Check on commit |
Specifies that referential integrity is checked only on commit, rather than immediately after row insertion. This feature can be useful when working with circular dependencies. Not available with all DBMSs. |
Propagate column properties |
Propagates changes made to the name, code, stereotype, or data type of a parent table column to the corresponding child column. |
Default link on creation |
Specifies how reference joins are created (see Automatic Reuse and Migration of Columns). |
Default implementation |
For more information on referential integrity, see Reference Properties. |
Default Constraints: Update |
|
Default Constraints: Delete |