Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

Eager loading does not work with virtual property

$
0
0

just read this link http://foreverframe.net/when-use-include-with-entity-framework/

see this image

does the above error is occurring  for virtual keyword?

if yes then it will be big problem because when we create model class then we decorate our class property with virtual often. so we have to determine very first that when we follow....eager loading or lazy loading?

please guide how people over come this problem. thanks


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>