How to include related tables in DbSet.Find()?
If I want to include related objects in an EF7 query, it's nice and easy: var myThing = db.MyThings .Include(t => t.RelatedThing) .Where(t => t.SomeCondition == true) .ToList(); Also, there's a nice method on the DbSet<T> that makes it easy to load a single object by its key: var myThing = db.MyThings.Find(thingId); But now I want to load myThing by its Id, along with its RelatedThing . Unfortunately (and understandably) .Find() is a method of DbSet<T> , not IQueryable<T> . Obviously I could do this: var myThing = db.MyThings .Include(t => t.RelatedThing) .SingleOrDefault(t => t.MyThingId ==