开发者

In which layer would you implement transactions using asp.NET TransactionScope?

开发者 https://www.devze.com 2022-12-10 03:26 出处:网络
I have a service, business and data access layer. In which l开发者_StackOverflow社区ayer should I implement transactions using asp.NET transactionscope? Also, is nesting Transactions a good thing beca

I have a service, business and data access layer. In which l开发者_StackOverflow社区ayer should I implement transactions using asp.NET transactionscope? Also, is nesting Transactions a good thing because I had problems with that?


Transaction Scope is part of .net not specific to asp.net

We would place the tansaction scope in the business layer. The service layer is more of a facade. If something requires a transaction it should be within a single business operation.

0

精彩评论

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