Book a Demo

Author Topic: UML and ORM for .NET (C#)  (Read 2911 times)

starwave

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
UML and ORM for .NET (C#)
« on: April 06, 2007, 12:28:45 pm »
Hi,

I'm looking for a way to create a data access component using Enterprise Architect. The idea is to design the persistable classes in UML, and then generate both C# code and DDL for it.

By default, I can generate C# sources and DDL, but the real 'data access' code is not there. I know it's possible to do ORM with for example NHibernate, however there's no option in EA to generate NHibernate files, so I'd still have to do everything manually.

How can I generate C# sources that actually access the database created from the DDL?

Considering that the project will have over 300 data access classes, I really want to find a way to automate this.  :)

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: UML and ORM for .NET (C#)
« Reply #1 on: April 07, 2007, 04:37:27 am »
Search this forum for NHibernate. That might help you find a good departure point. After that you are on your own.
No, you can't have it!