Ejemplo n.º 1
0
 /// <inheritdoc />
 protected TransientDatabaseTests(TestDatabaseSetup dbSetup)
 {
     DbSetup            = dbSetup;
     TransactionManager = new TransactionManager(DbSetup.InitializeSession());
     // ReSharper disable once VirtualMemberCallInConstructor
     LoadTestData();
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     Constructor.
 /// </summary>
 /// <param name="dbSetup"></param>
 protected TransientDatabaseTests(TestDatabaseSetup dbSetup)
 {
     DbSetup            = dbSetup ?? throw new ArgumentNullException(nameof(dbSetup));
     TransactionManager = new TransactionManager(DbSetup.InitializeSession());
 }