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