views:

61

answers:

2

Hi all,

Visual Studio 2010 includes a Modeling Project that lets to create UML diagrams like class diagram. We have plenty of class diagrams in VS 2010 Modeling Project and wish to generate Castle ActiveRecord classes from them.

I have searched and found many tools like ActiveWriter, MyGeneration, Active-Record-Gen, The DarkSide, GeneratorStudio and The AgilityForORMs Castle ActiveRecord code generator. But all of them generate classes from database only not VS 2010 Modeling Projects or UML XMI.

Do you know any tool for generating Castle ActiveRecord classes from VS 2010 Modeling Project's class diagrams?

A: 

Unfortunately, I don't think that's possible. Maybe instead of generating Castle AR models based on your UML diagram you can generate your database from your UML and then use one of the tools you listed to reverse engineer it?

This link appears to generate the DDL which you could then use.

Mike