In our database we have a large "god" table that has several parent/child relationships with other tables (PK/FK)...and those tables have several parent/child relationships with other tables....and so on. Basically a tree, rooted at the "god" table level. I know this is a common table structure.
We're using Entity Framework's entities to map to the tables. Is there a decent way to use Linq to select the entire record "tree" in one statement? Maybe something along the lines of nesting/chaining the selects to include the child entities/tables, so we return the god object along with all its related objects? Thanks.
UPDATE: OK, it appears using .Include() is really what I'm looking for. Thanks for pointing out the duplicate.