示例#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))
 {
 }
示例#2
0
 public TestRelationalTransaction(TestSpannerConnection connection, IDbContextTransaction transaction)
 {
     _testConnection  = connection;
     _realTransaction = transaction;
 }