摘要: 官方的Linq中并没有WhereIf方法,为了方便我们的日常开发,使用扩展方法实现WhereIf。 public static class QueryableExtensions { public static IQueryable<T> WhereIf<T>(this IQueryable<T> 阅读全文
posted @ 2023-03-05 23:11 Zeng。 阅读(147) 评论(0) 推荐(0) 编辑