public virtual void Dispose(bool disposing) { if (!disposed) { if (disposing) { context.Dispose(); } } disposed = true; }
protected virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { Context.Dispose(); } } this.disposed = true; }