开发者

How to use DependentTransaction with EF 4.1 DbContext

开发者 https://www.devze.com 2023-04-08 22:06 出处:网络
How can we use DependentTransaction with EntityFramework 4.1? If you see the article \"http://stackoverflow开发者_如何学运维.com/questions/2858750/what-is-the-reason-of-transaction-context-in-use-by-a

How can we use DependentTransaction with EntityFramework 4.1? If you see the article "http://stackoverflow开发者_如何学运维.com/questions/2858750/what-is-the-reason-of-transaction-context-in-use-by-another-session" to bring transaction into another thread we have to open the connection first but EF 4.1 gives error if connection is opened. Any idea how to do that ?

0

精彩评论

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