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.
精彩评论