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.
|