NHibernate.Burrow for managing sessions in NH3

First, I would like to ask if it works NHibernate.Burrowwith NHibernate 3.0 (Linq). I would like to use this infrastructure to delegate a complex things-handling session and just focus on the project I'm working on.

Also, what other frameworks are easy to set up, like Burrow to handle NHibernate sessions? I know that Burrow is a project that was discontinued back in 2009. If not, then what is a simple but effective way to implement a session handler? I read some articles, but involves a deep injection of dependencies and setting up thousands of libraries to do the job. I heard that the singleton approach is quite problematic on concurrency.

Thank!

+5
source share
1 answer

For the easiest NHibernate session management, I would follow Ayende for excellent posts on this.

These messages will help you in the process of creating just two classes for managing and managing NHibernate sessions.

You end up with a simple ActionFilterAttribute that handles the session, configuration, and transaction management and the base controller class, where you can get the current session.

+2

All Articles