This project demonstrates common NHibernate alerts and anti-patterns with solutions.
To run these examples you'll need to:
- Clone the repository
- Download and install the NHibernate Profiler
- Add a reference to the HibernatingRhinos.Profiler.Appender.dll assembly which is provided with the NHibernate Profiler
Each concept is described in an individual file containing NUnit unit tests. Start with the method named Problem and then run the subsequent unit tests to see the impact of different solutions. The code itself is heavily documented, but if you have questions please ask!