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))
 {
 }
Exemplo n.º 2
0
 public TestRelationalTransaction(TestSqlServerConnection connection, IDbContextTransaction transaction)
 {
     _testConnection  = connection;
     _realTransaction = transaction;
 }
Exemplo n.º 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))
 {
 }