NHibernate offers several methods for configuration and a number of configuration settings.
In this recipe, I'll show you how to configure NHibernate using your application's configuration file with a minimal number of settings to get your application up and running quickly. This recipe also forms the base for several other recipes in this chapter.
Eg.Coremodel and mapping recipes from Chapter 1, Models and Mappings.
ConfigByAppconfigproject, add references to
ConfigByAppconfig, add ...