protected override void Dispose(bool disposing) { if (disposing) { db.Dispose(); } base.Dispose(disposing); }
protected virtual void Dispose(Boolean disposing) { if (disposed) { return; } context.Dispose(); context = null; disposed = true; }
public void Dispose() { _aContext.Dispose(); }
public void TearDown() { context.Dispose(); }
public void TearDown() { HttpContext.Current = null; context.Dispose(); }
public void TearDown() { dataContext.Dispose(); context.Dispose(); HttpContext.Current = null; }