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
<td>If <code>true</code>, the value of <code>MySqlCommand.Transaction</code> is ignored when commands are executed.
203
+
This matches the Connector/NET behaviour and can make porting code easier. For more information, see <a href="https://github.com/mysql-net/MySqlConnector/issues/474">Issue 474</a>.</td>
Copy file name to clipboardExpand all lines: docs/content/tutorials/migrating-from-connector-net.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,8 @@ object to be created. See [#331](https://github.com/mysql-net/MySqlConnector/iss
74
74
75
75
Connector/NET allows a command to be executed even when `MySqlCommand.Transaction` references a commited, rolled back, or
76
76
disposed `MySqlTransaction`. MySqlConnector will throw an `InvalidOperationException` if the `MySqlCommand.Transaction`
77
-
property doesn't reference the active transaction. See [#333](https://github.com/mysql-net/MySqlConnector/issues/333) for more details.
77
+
property doesn't reference the active transaction. To disable this strict validation, set <code>IgnoreCommandTransaction=true</code>
78
+
in the connection string. See [Issue 474](https://github.com/mysql-net/MySqlConnector/issues/474) for more details.
78
79
79
80
### Exceptions
80
81
@@ -104,7 +105,7 @@ The following bugs in Connector/NET are fixed by switching to MySqlConnector.
104
105
*[#81650](https://bugs.mysql.com/bug.php?id=81650), [#88962](https://bugs.mysql.com/bug.php?id=88962): `Server` connection string option may now contain multiple, comma separated hosts that will be tried in order until a connection succeeds
105
106
*[#83229](https://bugs.mysql.com/bug.php?id=83329): "Unknown command" exception inserting large blob with UseCompression=True
106
107
*[#84220](https://bugs.mysql.com/bug.php?id=84220): Cannot call a stored procedure with `.` in its name
107
-
*[#84701](https://bugs.mysql.com/bug.php?id=84701): Can't create a paramter using a 64-bit enum with a value greater than int.MaxValue
108
+
*[#84701](https://bugs.mysql.com/bug.php?id=84701): Can't create a parameter using a 64-bit enum with a value greater than int.MaxValue
108
109
*[#85185](https://bugs.mysql.com/bug.php?id=85185): `ConnectionReset=True` does not preserve connection charset
109
110
*[#86263](https://bugs.mysql.com/bug.php?id=86263): Transaction isolation level affects all transactions in session
110
111
*[#87307](https://bugs.mysql.com/bug.php?id=87307): NextResult hangs instead of timing out
exception=newInvalidOperationException("The transaction associated with this command is not the connection's active transaction; see https://github.com/mysql-net/MySqlConnector/issues/474");
266
266
elseif(string.IsNullOrWhiteSpace(CommandText))
267
267
exception=newInvalidOperationException("CommandText must be specified");
0 commit comments