entity framework - Loading related objects without Include() -
entity framework - Loading related objects without Include() - briefly, i'm loading objects descend base of operations class using repository defined against base of operations class. although objects created right descendant classes, descendant classes add together navigation properties not nowadays in base of operations class not have related objects loaded, , have no way explicitly request them. here simple method in repository class loads given calendar event assuming know id value: public calendarevent getevent(int eventid) { using (var context = new calendareventdbcontext(connectionstring)) { var result = (from evt in context.calendarevents eventid.equals((int)evt.eventid) select evt).tolist(); homecoming result.tolist()[0]; } } calendarevent base of operations class big number of more specific classes descend. entity framework correctly d