NHibernate Mappings In-Depth
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:
- Dynamic component
- Database Object
- Named Queries
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.
Stuart Williams Aug 02, 2015
David Beyer, Olaf Carlson-Wee, Richard Minerich Aug 02, 2015