加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

asp.net – 如何在.net核心框架中使用TransactionScope?我找不

发布时间:2020-12-16 07:29:53 所属栏目:asp.Net 来源:网络整理
导读:我是.Net Core的新手,并将一些代码从.Net 4.0升级到.Net Core.如何在.net核心框架中使用TransactionScope?我找不到它了. 解决方法 似乎在.net Core上还没有支持.据我所知,从 this github票证,它已经实现但计划在1.2版本. 编辑 截至12/6/2017,这仍未实施 吉
我是.Net Core的新手,并将一些代码从.Net 4.0升级到.Net Core.如何在.net核心框架中使用TransactionScope?我找不到它了.

解决方法

似乎在.net Core上还没有支持.据我所知,从 this github票证,它已经实现但计划在1.2版本.

编辑

截至12/6/2017,这仍未实施

吉姆卡利于8月21日发表评论

Support of distributed transactions requires a distributed transaction coordinator on the platform where you are running. For Windows we obviously have MSDTC. But we need to make modifications to the classes and interfaces to allow an alternative distributed transaction coordinator to be “plugged in” and used. Those changes still need to be designed. The idea would be to modify the existing internal classes that use MSDTC to conform to the “pluggable” model.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读