I developed several classes using the Visual Studio class diagram. Now I would like to save this data using ORM and possibly other storage mechanisms. I am wondering if there is a way to generate SQL based on the properties in my classes, since they represent the database structure quite well. This will save me from manually entering SQL code and give me a nice start.
I did not start with the database model because I want my persistence to be separated from the actual "domain level" (not sure if this is the correct naming convention).
ORM mapper (LLBLGen) can then generate an encoding based on this scheme, and I will only need to map the generated objects to my persistence interface.
Is it a good idea, or am I on the wrong track here?
I found a tool that seems to do the job (MindScape LightSpeed), but unfortunately it is only available for VS2008.
source share