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