Funky Behavior NoTracking Query Entities

Posted on Dot net Slackers See other posts from Dot net Slackers
Published on Sun, 11 Apr 2010 00:00:00 GMT Indexed on 2010/04/11 20:53 UTC
Read the original article Hit count: 304

Filed under:
I’ve been using a lot of NoTracking queries to grab lists of data that I don’t need change tracked. It enhances performance and cuts down on resources. There are some nuances about these entities, however. One of the interesting behaviors of EF4’s Lazy Loading is that even if you have entities that you have queried with NoTracking on, they will still lazy load related entities. Unless you’ve read this somewhere (it’s on the ADO.NET team’s blog post which introduces...

Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.



Email this Article

© Dot net Slackers or respective owner