Chapter 9 Working with Data Models
To set migration settings, select Tools→Model Options, and select the Migration settings sub-category in the left-hand Category pane.
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:
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 the following radio buttons:
|
These options are available for relationships and automatic for inheritances, except the Only use template in case of conflict option, which is always triggered.
Copyright (C) 2008. Sybase Inc. All rights reserved. |
![]() |