コード例 #1
0
        protected virtual void Dispose(bool disposing)
        {
            if (_disposed)
            {
                return;
            }

            if (disposing)
            {
                DbContextFactory?.Dispose();
                DbContextFactory = null;
            }

            _disposed = true;
        }
コード例 #2
0
 public BaseTestFixture()
 {
     DbContextFactory = new TestDbContextFactory(Configuration);
 }