public MySqlDbExecutorWithTransaction(MySqlDbTransactionContext transaction, MySqlDbConfiguration configuration) : base(transaction.Connection.ConnectionString, configuration) { _transaction = transaction; }
public MySqlDbExecutorWithTransaction(MySqlDbTransactionContext transaction) : base(transaction.Provider) { Transaction = transaction; }
/// <summary> /// 创建 MySqlExecuteContext 对象 /// </summary> /// <param name="transaction">MySql 数据库事务上下文</param> /// <param name="dataReader">MySql 数据读取器</param> /// <param name="tracing">用于当前查询的追踪器</param> public MySqlExecuteContext(MySqlDbTransactionContext transaction, MySqlDataReader dataReader, IDbTracing tracing) : base(dataReader, tracing) { TransactionContext = transaction; MySqlDataReader = dataReader; }
public MySqlDbExecutorWithTransaction(MySqlDbTransactionContext transaction) { Transaction = transaction; }