BT

Your opinion matters! Please fill in the InfoQ Survey!

NHibernate Mappings In-Depth

| by Jon Arild Tørresdal  Followers on Apr 24, 2009. Estimated reading time: less than one minute |

A note to our readers: As per your request we have developed a set of features that allow you to reduce the noise, while not losing sight of anything that is important. Get email and web notifications by choosing the topics you are interested in.

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”.

Rate this Article

Adoption Stage
Style

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

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT