Get flash to fully experience Pearltrees
Home / Develop / NHibernate Contrib
In this second part Gabriel Schenker continues his overview of the NHibernate OR/M. Introduction
For all of its power and glory NHibernate is no different than any other tool which requires you to configure it before you can use it. In the case of NHibernate you need to configure (map) each of the tables you want to access to the various entities in which they are going to populate. And because you need to manually configure this, there is room for mistakes and errors.
In part I of this series, we examined motivations for maintaining custom collections that are compliant with NHibernate.
I published some NHibernate examples almost 4 years ago, and they still get downloaded pretty frequently. Unfortunately they still use NHibernate 1.2 and are somewhat limited as to what they demonstrate. My NHibernate course is rather example/exercise-heavy so I thought it would be a good time to replace those outdated examples with new ones and make them available to anyone who wants them. The examples are not complete yet, but will be updated frequently in the next couple of weeks.
To skip to the chase... http://code.google.com/p/sharp-architecture/
Download Basic NHibernate Sample - 1,477.9 KB
Author's note added June 11, 2008 - Announcement of S#arp Architecture