public MySqlDbExecutorWithTransaction(MySqlDbTransactionContext transaction, MySqlDbConfiguration configuration)
     : base(transaction.Connection.ConnectionString, configuration)
 {
     _transaction = transaction;
 }
Ejemplo n.º 2
0
 public MySqlDbExecutorWithTransaction(MySqlDbTransactionContext transaction) : base(transaction.Provider)
 {
     Transaction = transaction;
 }
Ejemplo n.º 3
0
 /// <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;
 }
Ejemplo n.º 4
0
 public MySqlDbExecutorWithTransaction(MySqlDbTransactionContext transaction)
 {
     Transaction = transaction;
 }