In addition to fluent mappings and auto-mappings, the Fluent NHibernate project also brings its own code configuration syntax to NHibernate configuration. In this recipe, I'll show you how to configure NHibernate with the Fluent NHibernate syntax.
Eg.FluentMappingsmodel and mapping from the Creating Mappings Fluently recipe in Chapter 1.
ConfigByFNHproject, add references to
ConfigByFNH, add a reference to the