When you use the Entity Framework to query data from a database, you often have to load detail data related to a database entry. Child elements can easily be obtained from the database with LINQ. Loading direct children: var steps = from b in db.Steps.Include(s => s.Questions) orderby b.StepOrder select b; By using the include […]