Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Define a Primary Key Name Template

If you have specific modeling conventions that stipulate how Primary Keys are documented, you can customize the way in which Primary Keys are named by default. By changing the Primary Key Name Template, you adjust the name that the system assigns to the UML Operation  representing the Primary Key.

Access     Tools | Options | Source Code Engineering | Code Editors: DDL Name Templates

Define the name template for a Primary Key



See also


Click on the DDL Name Templates button.

The DDL Name Template dialog displays, showing the default name templates.




Edit or replace the template in the Primary Key Name field.

For example, if you want to display the Primary Key description as


then change the Primary Key Name field to





Click on the Save button.