protected virtual void Dispose(bool disposing) { if (!disposed) { if (disposing) { dbContext.Dispose(); } } disposed = true; }
protected override void Dispose(bool disposing) { _northwindDbContext?.Dispose(); base.Dispose(disposing); }
public void NorthwindTestCleanup() { _context.Dispose(); }