摘要: 1 条件判断是否要加过滤条件 public static IQueryable<T> WhereIf<T>( this IQueryable<T> source, Expression<Func<T, bool>> predicate, bool condition) { source.CheckN 阅读全文