/// <summary>
        /// 把<see cref="IOrderedQueryable{T}"/>集合继续指定字段排序方式进行排序
        /// </summary>
        /// <typeparam name="T">动态类型</typeparam>
        /// <param name="source">要排序的数据集</param>
        /// <param name="sortCondition">列表字段排序条件</param>
        /// <returns></returns>
        public static IOrderedQueryable <T> ThenBy <T>(this IOrderedQueryable <T> source, SortCondition sortCondition)
        {
            source.CheckNotNull("source");
            sortCondition.CheckNotNull("sortCondition");

            return(source.ThenBy(sortCondition.SortField, sortCondition.ListSortDirection));
        }
 /// <summary>
 /// 初始化一个 默认参数(第1页,每页20,排序条件为空)的分页查询条件信息类 的新实例
 /// </summary>
 public PageCondition()
 {
     PageIndex = 1;
     PageSize = 20;
     SortConditions = new SortCondition[] { };
 }
 /// <summary>
 /// 把<see cref="IEnumerable{T}"/>集合按指定字段排序条件进行排序
 /// </summary>
 /// <typeparam name="T">动态类型</typeparam>
 /// <param name="source">要排序的数据集</param>
 /// <param name="sortCondition">列表字段排序条件</param>
 /// <returns></returns>
 public static IOrderedEnumerable <T> OrderBy <T>(this IEnumerable <T> source, SortCondition <T> sortCondition)
 {
     sortCondition.CheckNotNull("sortCondition");
     return(source.OrderBy(sortCondition.SortField, sortCondition.ListSortDirection));
 }