protected virtual void Dispose(bool disposing) { if (disposing) { if (null != _context) { _context.Dispose(); } _context = null; } }
public virtual void Dispose(bool disposing) { if (_disposed) { return; } if (disposing && _masterChefeContext != null) { _masterChefeContext.Dispose(); } _disposed = true; }