-
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...
-
When using mapping by code it may not be 100% obvious what XML is being generated for NHibernate. You have a couple of options, the first option is to tell NHibernate to write all your mappings into the bin folder:- var mapper = new ModelMapper(); mapper.AddMappings(typeof(CmsMeta).Assembly.GetTypes...