title: Include children and grandchildren when selecting from database
body: <p>I have the following models</p>
  
  <pre><code>public class Parent
  {
      public int Id { get; set; }
      public string Name { get; set; }
      public virtual List&lt;Child&gt; Child { get; set; }
  }
  
  public class Child
  {
      public int Id { get; set; }
      public string Name { get; set; }
      public virtual List&lt;GrandChild&gt; GrandChild { get; set; }
  }
  
  public class GrandChild
  {
      public int Id { get; set; }
      public string Name { get; set; }
  }
  </code></pre>
  
  <p>What Im trying to do now is select a list of parents from the database with the children and grandchildren.</p>
  
  <p>Tried the following with no joy:</p>
  
  <pre><code>List&lt;Parent&gt; parent = new List&lt;Parent&gt;();
  parent = db.parent.ToList();
  </code></pre>