100% of people found this useful
After spending the last few months learning NHibernate, starting with hbm xml, to Fluent NHibernate, then Loquacious sexy mapping was released.
Herewith is a solution, with tests and ioc, for a fully working skeleton demonstrating both explicit mapping by code and mapping by convention.
Domain; details the problem domain ... a small Customer, Order, Product etc domain but with all the fun relationships!!
Domain.NHByCode; is the mapping of the domain using the ModelMapper, with Explicit Mappings. Sorry Fabio, I have been very conformist here with single mapping classes ;)
Domain.NHByConvention; is the mapping of the same domain using the ConventionModelMapper.
These are the key blog posts by Fabio;
Grab the code here - https://github.com/ScottFindlater/Loquacious-NH