Skip to content

Add subtype reference

To add a subtype reference between two entities:

  1. In the Toolbox area, under i-refact - Unified Anchorized Modelling - 2.5.0, click on Subtype Reference. Subtype Reference icon
  2. Then drag a line from the subtype entity to the supertype entity. Add subtype reference
  3. A new subtype reference is created between the subtype and the supertype entity. The primary key (ID) and business keys of the supertype are automatically copied to the related subtype. Subtype and supertype with business keys
  4. In the Toolbox area, under Standard, click on Pointer.
  5. Double click on the new created reference. The window Subtype Reference Properties appears.
  6. Name: This is the business name for the object. You should use the same name used in the Logical Data Model. If you change the name of an object, the code will automatically change as well.
  7. Code: This is the technical name for the object. The Code will be used in the generated SQL and DDL.
  8. Comment: You can give a more descriptive name for the object, for example the business term.

Info

In the Generic Data Access Layer the supertype or subtype entities are separately presented and include their own context.