public TestRelationalTransaction(
     TestSqlServerConnection connection, DbTransaction transaction, ILoggerFactory loggerFactory, DiagnosticSource diagnosticSource, bool transactionOwned)
     : this(
         connection,
         new RelationalTransaction(
             connection,
             transaction,
             new InterceptingLogger <LoggerCategory.Database.Transaction>(loggerFactory, new LoggingOptions()),
             diagnosticSource,
             transactionOwned))
 {
 }
예제 #2
0
 public TestRelationalTransaction(TestSqlServerConnection connection, IDbContextTransaction transaction)
 {
     _testConnection  = connection;
     _realTransaction = transaction;
 }
예제 #3
0
 public TestRelationalTransaction(
     TestSqlServerConnection connection, DbTransaction transaction, ILogger logger, DiagnosticSource diagnosticSource, bool transactionOwned)
     : this(connection, new RelationalTransaction(connection, transaction, logger, diagnosticSource, transactionOwned))
 {
 }
 public TestRelationalTransaction(
     TestSqlServerConnection connection, DbTransaction transaction, ILogger logger, bool transactionOwned)
     : this(connection, new RelationalTransaction(connection, transaction, logger, transactionOwned))
 {
 }