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.
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.