public virtual void Dispose() { if (_context != null) { _context.Dispose(); } }
public virtual void Dispose(bool disposing) { if (!this._disposed) { if (disposing) { Db.Dispose(); } this._disposed = true; } }