示例#1
0
        public ICriteria AddSorting(ICriteria criteria, GridDataRequest page)
        {
            SortBy.ApplyDefaultSorting(page);

            criteria = criteria.AddOrder(new Order(page.SortColumn, page.SortAscending));
            return(criteria);
        }