I\'m using code first EF5 and I have an object which has a collection defined as virtual (lazy loaded). This returns data when called. However
Just one thing mention here.
If I turn off EF's LazyLoading with
this.DbContext.Configuration.LazyLoadingEnabled = false;
then, "include" method will not loading child entities for Eagerly loading.
so, if i want to use "include" in the query, I need to turn on EF's LazyLoading property at same time.