-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support System.Transactions #13
Comments
It appears that |
MySQL XA Transactions may be a good way to implement |
Implemented in 0.18.0. |
@bgrainger is there still the possibility this could be implemented without XA transactions, like MySql.Data? Some of the restrictions with XA make it look less attractive option, particularly if running MySQL prior to 5.7.7 and using replication: https://dev.mysql.com/doc/refman/5.7/en/xa-restrictions.html |
It's possible; I've created #254 to track it. If this is affecting you, could you please add a comment there to describe the specific issues you're running into? (MySQL 5.7.9 was the first GA release, so I'm not extremely concerned about limitations/errors in 5.7.x versions prior to that.) I'm open to receiving a PR that implements a non-XA implementation of An alternative of course is to explicitly use |
On desktop (full) .NET, implement support for auto-enlisting in ambient transactions. This will enable .NET 4.5 code that uses
TransactionScope
to be ported to this connector without having to rewrite it. (This connector will throw when #12 is implemented, even if the underlying platform could supportSystem.Transactions
.)See related issues for EF: dotnet/efcore#1530, dotnet/efcore#5595.
Note that
System.Transactions
isn't supported in .NET Core: dotnet/corefx#2949The text was updated successfully, but these errors were encountered: