开发者

VS2008 Entity Framework LazyLoading not available

I am using ado entity framework in my asp.net mvc2 application. I want to set context's LazyLoading enabled=false. But this options is not available. its g开发者_StackOverflow中文版iving error for contextoptions.

How do I add this attributes to my .edmx file? do i need any upgrade as I am using vs2008?


EFv1 (.NET 3.5) doesn't support transparent lazy loading so you don't need (and you can't) to change any settings. Lazy loading in EFv1 is always triggered manually by calling Load method on navigation property.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜