Migration Settings (LDM)

To set migration settings, select Tools > Model Options, and select the Migration settings sub-category under Model Settings.

These options control the migration of identifiers along relationships:

Option

Description

Migrate attribute properties

Enables the domain, the checks or the rules to be kept when an attribute is migrated.

Foreign attribute name

Specifies the naming convention for migrated foreign identifiers. You can select one of the default templates from the list or enter your own using the following variables:

  • %PARENT% - Name/Code of the parent entity

  • %ATTRIBUTE% - Name/Code of the parent attribute

  • %IDENTIFIER% - Name/Code of the identifier constraint attached to the relationship

  • %RELATIONSHIP% - Name/Code of the relationship

  • %PARENTROLE% - Role of the entity that generated the parent entity, this variable proceeds from the conceptual environment. If no role is defined on the relationship, %PARENTROLE% takes the content of %PARENT% to avoid generating an attribute with no name

The following example checks the %PARENTROLE% value; if it is equal to the parent name (which is the replacement value) then the template "%.3:PARENT%_%ATTRIBUTE%" will be used, otherwise template "%PARENTROLE% will be used because the user has entered a parent role for the relationship:

Note that customized naming templates reappear in the generation dialog box the next time you open it, but are not saved to the list of predefined templates.

Use template

Controls when the primary identifier attribute name template will be used. You can choose between:

  • Always use template.

  • Only use template in case of conflict.