当在 Linq to object 表达式中包含多个 Where 子句时,它们会像 && 运算符一样评估短路吗?含义将仅在条件 A 返回 true 时评估条件 B
例如collection.Where(condition1).Where(condition2)
collection.Where(condition1).Where(condition2)
(不谈论即使使用 && 运算符short-circuiting-in-linq-where也不会这样做的 Linq to sql )
三国纷争
相关分类