Ayende is running a series of posts detailing and explaining how NHibernate maps entity classes to database. Posts include XML mappings, code and SQL queries generated when saving or querying the database so that you have everything to understand what NHibernate do to persist your data. The series is a nice addition to NHibernate Reference Documentation.
NHibernate Mapping:
- Properties
- Components
- Many to one relationships
- Inheritance
- Dynamic components
- Collections
- Concurrency
- Database objects
- Named queries
& - One to one relations
- Joined classes
- Any type mappings
- Many to any relationships
It was a nice reading. I’ve refreshed few things in my memory and learned few new tricks.
This post will be updated as new chunks will be published (I hope it will) by Ayende.