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