protected virtual void Dispose(bool disposing) { if (_disposed) { return; } if (disposing) { DbContextFactory?.Dispose(); DbContextFactory = null; } _disposed = true; }
public BaseTestFixture() { DbContextFactory = new TestDbContextFactory(Configuration); }