Exemple #1
0
 public TestRelationalTransaction(
     TestSpannerConnection connection, DbTransaction transaction, ILoggerFactory loggerFactory,
     DiagnosticSource diagnosticSource, bool transactionOwned)
     : this(
         connection,
         new RelationalTransaction(
             connection,
             transaction,
             new DiagnosticsLogger <DbLoggerCategory.Database.Transaction>(
                 loggerFactory, new LoggingOptions(), diagnosticSource),
             transactionOwned))
 {
 }
Exemple #2
0
 public TestRelationalTransaction(TestSpannerConnection connection, IDbContextTransaction transaction)
 {
     _testConnection  = connection;
     _realTransaction = transaction;
 }