public TestRelationalTransaction(
     TestSqlServerConnection 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))
 {
 }
 public TestRelationalTransaction(TestSqlServerConnection connection, IDbContextTransaction transaction)
 {
     _testConnection  = connection;
     _realTransaction = transaction;
 }