Author Topic: Generate code from tables?  (Read 4544 times)

Daleb

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Generate code from tables?
« on: March 20, 2005, 06:32:23 pm »
Has anyone generated C# code from table elements?
I want to maintain the logical model, but I don't want to maintain two sets of objects (for those with a persistent implementation) just so that I can generate code and ddl when database changes occur.
Alternatively has anyone generated the data model from the logical model?
Alternatively, is there a way to set up a custom stereotype so that an entity knows it has a persistent implementation?

tfischer

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Generate code from tables?
« Reply #1 on: April 30, 2005, 05:06:14 pm »
You might want to have a look at tangible architect for Sparxs EA. It generates a complete Object Model with persistence from your logical model. Persistent Objects have Data-binding as well. So it should be easy to build your app from there.

See

http://www.tangible.de/architect

for details

Daleb

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Generate code from tables?
« Reply #2 on: May 02, 2005, 11:37:35 pm »
Thanks for the tip, I'll check out the link  :)

I've written my own little c# utility to do the same thing and it works well enough for me, but Tangible Architect might be better in the long run.

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Generate code from tables?
« Reply #3 on: May 03, 2005, 06:10:15 am »
Hi,

sounds like EA5.0 and its model transformation functionality might be the answer. As the beta came out only yesterday, I did not have a chance to try it yet though :-)

Bruno

Quote
Thanks for the tip, I'll check out the link  :)

I've written my own little c# utility to do the same thing and it works well enough for me, but Tangible Architect might be better in the long run.