private void Invoke(Action <IQueryable <TEntity> > action) { try { _context.AdvanceQuery(action); } catch (Exception ex) { throw new Exception("数据访问出现异常,详细信息请查看内部异常", ex); } }