Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

How do I retrieve the objects that are already loaded in Entity Framework in lists per type?

$
0
0

I load up my objects from a query, now, I want to get a Collection<Type> of the objects loaded from my query.  If I access the DbSets, they load up all the data I do not want.  Is there a way to tell the DbSets to not load additional data from the DB and only give me the objects that are currently loaded?


Michael Stevens


Viewing all articles
Browse latest Browse all 8156

Trending Articles



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