开发者

NInject2 Interceptor usage with NHibernate transactions

开发者 https://www.devze.com 2022-12-28 04:37 出处:网络
In my previous project we used NHibernate and Spring.NET. Transactions were handled by add开发者_开发技巧ing [Transaction] attribute to service methods.

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

Transactions were handled by add开发者_开发技巧ing [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!


Basically this project solves my problem

http://github.com/chillitom/ninject.extensions.spring.tx

0

精彩评论

暂无评论...
验证码 换一张
取 消