开发者

How to enable DeferredLoading in EF1

I开发者_如何学JAVA have seen how to enable deffered loading in EF4, but don't know how to do this in EF1 .net framework 3.5

Any idea?


That is not called deferred loading any more. It is called lazy loading (should be called transparent lazy loading) and it is only feature of EFv4. EFv1 doesn't support it. If you want to load some navigation property in EFv1 you must explicitly call Load method.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜