Book a Demo

Author Topic: Before DDL Transformation -> mark attribute as PK  (Read 2147 times)

pwyss2

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Before DDL Transformation -> mark attribute as PK
« on: November 01, 2012, 08:41:21 pm »
Hy

I've a class diagram, out of which i create a ddl with transformation (for creating sql-scripts).

On each table, a primary-key is added automatically. Is there a way to mark an attribut in the class-diagram, as the one, who should be used as primary key in the ddl-transformation?

For example I've an attribute called TestNumber on my class Test, which I want as primary key in the ddl. Actually when I create the ddl, a new attribute (as primary key) calls TestId is created.

Thanks for your help,
Peter