摘要: 用EF做查询,写了一个基类,有一个通用的分页查询方法。public virtual ListViewResponseResult GetEntitys(int pageIndex, int pageSize, int fId, Expression> whereLambda, Expression> orderByLambda, bool isAsc){ .............. var temp = Repository.GetEntitysByFId(fId); if (whereLambda != null) { temp = temp... 阅读全文
posted @ 2014-03-26 20:34 sjR10 阅读(1097) 评论(0) 推荐(0) 编辑