1、确保服务器分布式管理服务 Distributed Transcation Coordinator 有开启

2、使用分布式事务代码的项目中添加System.Transactions程序集的引用

3、将需要事务管控的代码放入using{}中,最后调用Complete()来进行事务的提交

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
  • 2021-06-09
  • 2022-01-17
猜你喜欢
  • 2021-08-09
  • 2022-01-17
  • 2022-01-24
  • 2021-12-08
  • 2021-06-04
  • 2021-09-30
相关资源
相似解决方案