コード例 #1
0
        /// <summary>
        /// 查询数据列表并排序
        /// </summary>
        /// <param name="whereLandba">查询条件</param>
        /// <param name="isAsc">是否升序</param>
        /// <param name="orderLandbas">多个排序条件</param>

        /// <returns>数据列表</returns>
        public IQueryable <T> GetListOrderBys <TKey>(Expression <Func <T, bool> > whereLandba, bool isAsc, params Expression <Func <T, TKey> >[] orderLandbas)
        {
            return(dal.GetListOrderBys(whereLandba, isAsc, orderLandbas));
        }