protected virtual void Dispose(bool dispose) { if (!IsDisposed) { mContext.Dispose(); } IsDisposed = true; }
protected virtual void Dispose(bool disposing) { if (!disposed) { if (disposing) { db.Dispose(); } disposed = true; } }