Quantcast
Viewing all articles
Browse latest Browse all 10318

Edited Feature: Make DbCollectionEntry, DbReferenceEntry.IsLoaded settable [269]

I want to be able to write something like this:

db.Entry(room).Collection(r => r.Users).IsLoaded = true;
room.Users.Add(user); // this doesn't trigger lazy loading because i already marked the collection as loaded. Without this, I have to turn off lazy loading in the whole context.

Viewing all articles
Browse latest Browse all 10318

Trending Articles



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