摘要: public static IQueryable WHEREIF(this IQueryable source, Expression> filter, bool isEmpty) { return isEmpty ? source.Where(filter) : source; } 阅读全文
posted @ 2012-03-19 11:03 kevinzw 阅读(334) 评论(0) 推荐(1) 编辑