遗忘海岸

江湖程序员 -Feiph(LM战士)

导航

2011年7月6日 #

让 Linq 支持动态列名排序

摘要: /// Queryable的内部实现 /// 做了部分调整 public static IOrderedQueryable<TSource> OrderBy<TSource, TKey>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector) { if (source == null) throw new Exception("source"); if (keySelector == null) throw new 阅读全文

posted @ 2011-07-06 17:27 遗忘海岸 阅读(1043) 评论(0) 推荐(0) 编辑