EF是否会智能地解释命令Include().Where()
与Where().Include()
具有相同运行时间的查询?
含义
var myObjects = db.Objects.Include(o => o.ObjectReference).Where(o => o.intField == intVar);
具有与
相同的运行时间var myObjects = db.Objects.Where(o => o.intField == intVar).Include(o => o.ObjectReference);
因为它只在“ Where”或“第一个慢”之后才在两种情况下加载,因为先加载然后过滤?