...存查询的信息,你创建了查询,当你去执行的时候才回获得数据 Query Execution 查询执行分为下面2类: Deferred Execution(推迟执行) 当查询创建的时候查询变量本身知识存储查询的命令,真正意义上的查询被推迟到当你通过foreach循环在查询变量上迭代时候.
基于33个网页-相关网页
对于延缓执行(Deferred Execution),其实就是指数据真正被需要的时候,才去数据库拿,而不是说Linq一准备好,就直接去数据库拿数据,这样对数据库造成的压力是不小...
基于18个网页-相关网页
deferred execution model 延迟执行模型
This method USES deferred execution.
这个方法会使用延后的执行。
For example, topics like deferred execution are often misunderstood: looking at the implementation can clarify things pretty well.
比如说,像延迟执行一类的事,人们总是有很多误解:但是如果你看过代码的话,就能够很好的理清头绪了。
The main reason for doing this is that most of the collections you retrieve from an XML tree are yielded using deferred execution.
这么做的主要原因在于,从 XML 树检索的大多数集合都是用延迟执行生成的。
应用推荐