Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Define Foreign Key Name Template
To define the name template for a Foreign Key, follow the steps below:
- Select the Tools | Options | Source Code Engineering | Code Editors menu option. The Code Editors page of the Options dialog displays.

- Click on the DDL Name Template button. The DDL Name Template dialog displays, showing the default name templates.

- Edit or replace the name template in the Foreign Key Name Template field.
Note: |
If you want to display the Foreign Key description as FK_foreigntablename_FKcolumnname_primarytablename_PKcolumnname then change the Foreign Key Name Template field to FK_%foreigntablename%_%fkcolumnname%_%primarytablename%_%pkcolumnname%. |
- Click on the Save button.
The material ("material" includes all pages, documents and on-line graphics) on this web site is protected by copyright law. (C) 1998-2010 Sparx Systems Pty Ltd.