The suggested first step in any new NHibernate application is mapping the model. In this first example, I'll show you how to map a simple product class.
Before we begin mapping, let's get our Visual Studio solution set up. Follow these steps to set up your solution with NHibernate binaries and schemas.
NHibernate-3.0.0.GA-bin.zip, perhaps with a slightly different version number.
Eg.Corewith a directory for the solution named Cookbook.