Lambda 参数传递

_recordInformationService.GetPagesAsync(new PageParm() { page =1, limit = 30 }, w => w.modelId == modelId,order=>order.iftop, DbOrderEnum.Desc).Result.data.Items;
Task<ActionResult<Page<T>>> GetPagesAsync(PageParm parm, Expression<Func<T, bool>> where,
            Expression<Func<T, object>> order, DbOrderEnum orderEnum, bool Async = true);
posted @ 2020-07-02 16:07  唯爱金生  阅读(446)  评论(0编辑  收藏  举报