BT

NHibernate Mappings In-Depth

by Jon Arild Tørresdal on Apr 24, 2009 |

Ayende Rahien have posted 13 blog posts describing the different NHibernate mappings in detail with examples. Ayende is one of the contributors to NHibernate, the creator of NHibernate Profiler and have been using NHibernate for many years.

Although the different ways of mapping a class to the database are individually well documented in the NHibernate documentation, the different usage scenarios is not always obvious.

Currently Ayende has covered the following mappings:

As he goes through each of the above mappings he touch on many smaller details and usage patterns not know to all users of NHibernate. Examples being how to handle inheritance, map value objects (from Domain-Driven Design), merging several tables into one class or to create associations that’s just not possible to do in a relational database.

The same posts are also found at the NHibernate Forge blog, which is the “official new home for the NHibernate community”.

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT