Entity Framework is there a way to see what is in cache?

Is there a way of looking at whats already in cache? I just want to ensure that I'm not making repeated database calls.

Answers


Yeah, sure is, you can use:

context.<YourSet>.Local

to see all entities currently tracked by the context


Need Your Help

facebook live stream: see more post in public than in logging

facebook friend public posts

I included a facebook live stream into a website - no problems so far. While I stay logged out I can see all public post from customers facebook site. But when I logged in with my facebook account ...

How to animate google map v2 marker on the polyline path?

android google-maps google-maps-markers google-maps-api-2

I already build an app using google maps V2 and put 2 markers on the map. First marker is to get user current location, and the second marker is user destination location. And then I add decodePoly