示例#1
0
        public static IQueryable <TEntity> SelectAll(string sortExpression)
        {
            if (String.IsNullOrEmpty(sortExpression))
            {
                return(SelectAll());
            }

            return(EntityTable.OrderBy(sortExpression));
        }