NHibernate Transactions Best Practices

Posted by Ramiro on Stack Overflow See other posts from Stack Overflow or by Ramiro
Published on 2008-12-11T18:50:58Z Indexed on 2010/04/17 4:43 UTC
Read the original article Hit count: 466

I have been reading about Nhibernate for a while and have been trying to use it for a site I'm implementing. I read the article by Billy McCafferty on NHibernate best practices but I did not see any indication on where is the best place to handle transactions.

I thought of putting that code in the Data Access Object (DAO) but then I'm not sure how to handle cases in which more than one DAO is used. What are the best places to put transaction code in your NHibernate Application?

© Stack Overflow or respective owner

Related posts about nhibernate

Related posts about best-practices