Book a Demo

Author Topic: Automatic export of Class Model to Database Model  (Read 5547 times)

John_Waters

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Automatic export of Class Model to Database Model
« on: July 15, 2005, 06:36:49 am »
Is there any functionality in EA to create a database model from a class model? I.e. given a set of classes with relationships, can I create the corresponding Tables (not in the DB, that is a later process, just the Table in the model).
This would entail adding PKs for each class, creating FKs from assosciations, etc.
If not possible, I will create the Tables manually, but could I then link say the FirstName column of a Person Table to the corresponding FirstName attribute of the Person class, so that if I then changed Person.FirstName to Person.Nam1 in the class the table column would change name?
It this kind of cross model linkage at all doable in this tool?
Thanks
« Last Edit: July 15, 2005, 06:52:27 am by John_Waters »

thomaskilian

  • Guest
Re: Automatic export of Class Model to Database Mo
« Reply #1 on: July 15, 2005, 11:01:08 am »
You can use the new model transformation to achieve that. Another way is to export XMI. modify that and import again.