NInject2 Interceptor usage with NHibernate transactions

Posted by Daniil Harik on Stack Overflow See other posts from Stack Overflow or by Daniil Harik
Published on 2010-04-21T16:49:31Z Indexed on 2010/04/21 16:53 UTC
Read the original article Hit count: 399

Hello,

In my previous project we used NHibernate and Spring.NET.

Transactions were handled by adding [Transaction] attribute to service methods.

In my current project I'm using NHibernate and NInject 2 and I was wondering if it's possible to solve transaction handling using "Ninject.Extensions.Interception" and similar [Transaction] type attributes?

Thank You very much!

© Stack Overflow or respective owner

Related posts about .NET

Related posts about ninject