You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/tutorials/migrating-from-connector-net.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,8 +39,16 @@ MySqlConnector has some different default connection string options:
39
39
Some command line options that are supported in Connector/NET are not supported in MySqlConnector. For a full list of options that are
40
40
supported in MySqlConnector, see the [Connection Options](connection-options)
41
41
42
+
### TransactionScope
43
+
44
+
MySqlConnector adds full distributed transaction support (for client code using [`TransactionScope`](https://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx)),
45
+
while Connector/NET uses regular database transactions. As a result, code that uses `TransactionScope`
46
+
may execute differently with MySqlConnector. To get Connector/NET-compatible behavior, remove
47
+
`TransactionScope` and use `BeginTransaction`/`Commit` directly.
48
+
42
49
### Bugs present in Connector/NET that are fixed in MySqlConnector
43
50
51
+
*[#37283](https://bugs.mysql.com/bug.php?id=37283), [#70587](https://bugs.mysql.com/bug.php?id=70587): Distributed transactions are not supported
44
52
*[#66476](https://bugs.mysql.com/bug.php?id=66476): Connection pool uses queue instead of stack
0 commit comments