Book a Demo

Author Topic: Mapping Classes to Tables?  (Read 2496 times)

Lee

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Mapping Classes to Tables?
« on: October 11, 2005, 04:40:54 am »
Hi

I'm a newbie to EA 5.0 and would like to know if the tool is capable of taking a class diagram or classes and mapping/creating tables from the classes? I know you can set the stereotype on a class to table but you then can't generate code only DDL.  So I would like to leave my class diagram/classes as they are but generate SQL Server based tables from the class diagram is this possible?

Thanks

thomaskilian

  • Guest
Re: Mapping Classes to Tables?
« Reply #1 on: October 11, 2005, 06:04:35 am »
You can use EA's transformation tool to convert a PIM into a PSM (in that case tables). Choose Project/Transformations to convert the source package. You can even change the transformation templates for your needs (a bit more tricky then).

Lee

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Mapping Classes to Tables?
« Reply #2 on: October 11, 2005, 10:01:18 am »
Excellent thanks for that.