开发者

Compile NHibernate Linq expressions

Can NHibernat开发者_运维知识库e linq/lambda expressions be compiled so they aren't reevaluate on every use?


Compiling them (into delegates) would make them execute in memory, which is something you definitely do NOT want.

They must stay as expression trees in order to be parsed into Criteria expressions (2.x contrib provider) or HQL trees (3.x provider), and then into SQL.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜