72
95.7
Jun 07, 2011
Abdelhadi:
This is an interesting question. We have written our own code generator (using CodeSmith). Whenever a table changes we run the generator (against the given table) and update the Business Object, Data Access Code, DTO, Test Code, and Service Layer.
I should mention that getting the whole code generation in place requires a fair amount of planning, preparation, and experience, but once in place it is like magic: data model changes are no sweat and all your code is updated automatically.
As an alternative you could also look into T4 code generation which is built-in into Visual Studio.
Best of luck.
68
95.3
Aug 21, 2011
http://entitiestodtos.codeplex.com/ this should work.
548
99.9
Sep 08, 2011
Yes, I've built a code generator that is based on the Patterns In Action. Send me your email address and I'll send you the my code generator I call Condor. It's a MyGeneration Software template, so that's all you have to install. It's free software found at mygenerationsoftware.com.
I also have videos on how to use it.