Book a Demo

Author Topic: Convert Tables to Objects  (Read 2972 times)

floerio

  • EA User
  • **
  • Posts: 44
  • Karma: +0/-0
    • View Profile
Convert Tables to Objects
« on: May 07, 2008, 02:27:39 am »
Hi there!

Is there a way to convert a "table" object into an "class" object?

I have within EA several models with table object. They represent our current database design. Now, starting with a new project, I want to create a business object model first which we haven't done so far. To make a little bit easier, I would like to convert the "table" objects into "class" objects to have a basis for an object model. If the relations would also be converted into associations it would be even better.

I know that there would be lost in information, but nevertheless the amount of tables we have and the time needed to create a lot of them anew as object would make it worth.

Does anybody has any experience with this problem?

Regards,
   Oliver

« Last Edit: May 07, 2008, 02:35:21 am by floerio »

Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile
Re: Convert Tables to Objects
« Reply #1 on: May 07, 2008, 12:07:07 pm »
Hi,
I would suggest you have a look at the MDA transformation facility in EA.  The EaExample model gives a good example of its use - it starts with the Domain Model, from this comes the abstract Class model (PIM) and has an MDA conversion to implementation Model (PSM) - this includes code classes and Data Tables generated from the PIM.

floerio

  • EA User
  • **
  • Posts: 44
  • Karma: +0/-0
    • View Profile
Re: Convert Tables to Objects
« Reply #2 on: May 07, 2008, 03:28:27 pm »
Thanks! I will have a look at it.