NHibernate Forge
The official new home for the NHibernate for .NET community

A fully working skeleton for sexy Loquacious NH

Wiki Page Hierarchy

Pages

Page Details

First published by:
Scott Findlater
on 08-17-2011
Last revision by:
Scott Findlater
on 08-17-2011
1 person found this article useful.
Article
Comments (0)
History (3)
100% of people found this useful

A fully working skeleton for sexy Loquacious NH

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;

 

Other resources;

Grab the code here - https://github.com/ScottFindlater/Loquacious-NH

Recent Comments

Leave the first comment for this page.
View All
Powered by Community Server (Commercial Edition), by Telligent Systems