public InMemoryDbContextTransactionScope( string databaseName = null, InMemoryDatabaseRoot databaseRoot = null, Action <DbContextOptionsBuilder> optionsBuilderAction = null, IDbContextActivator activator = null) : this(new InMemoryDbContextTransactionScopeOptions { DatabaseName = databaseName, DatabaseRoot = databaseRoot, OptionsBuilderAction = optionsBuilderAction, }) { }
public SqlServerDbContextTransactionScope( SqlConnection connection = null, string connectionString = null, SqlTransaction transaction = null, IsolationLevel isolationLevel = IsolationLevel.Unspecified, Action <DbContextOptionsBuilder> optionsBuilderAction = null, IDbContextActivator activator = null) : this(new SqlServerDbContextTransactionScopeOptions { Connection = connection, ConnectionString = connectionString, Transaction = transaction, IsolationLevel = isolationLevel, OptionsBuilderAction = optionsBuilderAction, }) { }