public virtual IQueryable <TEntity> GetQueryableList <TEntity, TKey>(Expression <Func <TEntity, TKey> > orderByKeySelector, bool bIsAscOrder = true, string strOrder = "", IQueryable <TEntity> queryEntity = null) where TEntity : class, new() { queryEntity = GetQueryableList(queryEntity); return(PageHelper.GetOrderQueryable(queryEntity, orderByKeySelector, bIsAscOrder, strOrder)); }