开发者

Distributed Transaction In C# for Mysql

开发者 https://www.devze.com 2023-03-29 18:17 出处:网络
I have a C# application. I would like to run a transaction which insert and update multiple database on different location. I notice is to support via the .net connector provided by mysql. Any solutio

I have a C# application. I would like to run a transaction which insert and update multiple database on different location. I notice is to support via the .net connector provided by mysql. Any solution for this? What I am doing currently is that open 2 transaction then I comm开发者_如何学JAVAit one then I commit another after that which is risky as sometimes somethings fail to be updated.


Try looking into http://dev.mysql.com/doc/refman/5.0/en/xa.html.

0

精彩评论

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