|
Hi Folks,
I know there are a number of products that are being used to generate NHibernate classes and xml files ... but I haven't found one that has really satisfied me. Below are a list of features I'm especially interested in. Perhaps, a code generator exists that fits this list ... if so, please tell me!
* Visual Studio 2008 integration/designer
* Ability to generate one .cs file per class (should be partial classes so further generation doesn't overwrite custom code)
* Ability to generate on hbm.xml file per class
* Ability to customize both the class and hbm code generation templates
Other wants:
* Ability to use NHibernate attributes instead of hbm files
Right now ... I prefer NHibernate over every other ORM I've worked with and evaluated! But for many clients ... what matters is time-to-market (not maintainability, understandability and even performance). Debate with them however I might ... ultimately they want something up fast!
As such, a framework like the ADO.NET Entity Framework is going to get you there faster than hand-coding NHibernate code precisely because the toolset meets many of the objectives stated above. Personally, I'd rather not have to learn both ORMs ... and be able to stick with one for both those clients that want/need something quickly and those who think more long-termed and willing to take an initial hit when the project starts up. As such, a designer/generator as described above seems key in satisfying both parties.
Any suggestions, input, etc...??? I'm open to anything.
Thanks - wg
|