|
The GenWise NHibernate Templates generate a Business Object Layer (BO-Layer) for your application. The generated BO-Layer uses Object-Relational Mapping, a technique to map database entities to business objects and vice versa.
Use of an ORM (Object-Relational Mapping) framework makes access to your database transparent since you use a full object model instead of working with specific SQL statements embedded in code, or database-oriented objects that target a specific SQL dialect. Using the NHibernate Framework there will be no SQL code mixed up in the source code of your User Interface or BO-Layer. There is a Beginners guide to ORM topic if you're new to this methodology.
NHibernate is an ORM solution that was ported from Hibernate, the predominant ORM framework used in java development. To read the NHibernate documentation from the creators of NHibernate go to: http://www.hibernate.org/hib_docs/nhibernate/html/
An NHibernate BO-Layer project depends on a GenWise Database Repository. The Database Repository contains all required information about your database schema. The NHibernate Templates use this information to generate a complete BO-Layer.
A selection of the most important features of the GenWise NHibernate Templates is listed below.
 | Supports a variety of DBMS systems. The DBMS schema information is stored in a Database Repository which allows to add extra meta data. |
 | Create an ORM Layer for the using NHibernate. In this the Business object is created including the XML mapping files and the necessary factories classes. |
 | A complete object model is generated, which includes the mapping of relations between tables to object relations. |
 | GenWise Studio allows you to add your own code to the NHibernate BO-Layer without disturbing the generation cycle. Code added to the BO-Layer using the GenWise Source Editor becomes part of the generation output. This way you can enhance the BO-Layer, applying business rules by adding class members or modifying the class members generated by the templates. |
 | Select your own naming convention for Classes, fields, properties and parameters. |
 | Have global and local settings for template options so you can globally set and forget options. |
 | Overidable mapping from your database type to the Net datatype. |
 | Impact analysis when changing or deleting objects |
 | Also generates a valid .csproj for VS2005. Project can be opened and built using VS.NET 2005, although you do not need Visual studio at all, not even to add your own code. |
|