NHibernate 1.2 Generator
Written on June 26, 2007

Announcing the launch of NHibernate 1.2 Template for GENNIT.
The NHibernate 1.2 Template generates best practice templates for an NHibernate Data Access Layer. Based on the brilliant work by Billy McCafferty in his article NHibernate Best Practices 1.2.
The generated output includes a Visual Studio 2005 solution which contains 4 projects, Core, Data, Test and Web.
Core - Contains Domain Objects (Data Objects) and hibernate XML mapping files as well as interface design for data access.
Data - All NHibernate based operations occurs in this project. To extend the DAL with additional methods and operations add functionality to the individual classes within DataObjectFactory.cs and consider moving them out of this CS file and into their own.
Test - Very similar implementation to the Castle ActiveRecord DAL Test library. Tests the objects to ensure they are connecting and writing to the database as well as storing values.
Web - Implements NHibernate session management (defined in Data project) to provide simple example of getting values from data objects and inserting new values.
Goto http://gennit.com and signup/login to get going with the NHibernate 1.2 code generator.
Filed in: New Features, News and Updates.
