Connector/NET allows the following code:
var connection = new MySqlConnection("connection string");
connection.Open();
var transaction = conn.BeginTransaction();
conn.Query<int>("select 1;", transaction: transaction); // using Dapper
transaction.Commit();
conn.Query<int>("select 1;", transaction: transaction);
MySqlConnector throws an InvalidOperationException: The transaction associated with this command is not the connection's active transaction. on the last line.
See #331 for a similar incompatibility.
Connector/NET allows the following code:
MySqlConnector throws an
InvalidOperationException: The transaction associated with this command is not the connection's active transaction.on the last line.See #331 for a similar incompatibility.