title: EntityFramework 6. How to get related objects?
body: <p>I have two and more related tables in my project.
  And need to get related objects.</p>
  
  <p>Here is what I did: <a href="http://pastebin.com/BbkT8zvd" rel="nofollow">http://pastebin.com/BbkT8zvd</a></p>
  
  <p>And trying to get like this:</p>
  
  <pre><code>using (LocalContext _db = new LocalContext())
  {
      var list = _db.Document.ToList();
      foreach (var item in list)
      {
          Console.WriteLine(item.Name+ ": ");
          foreach (var item2 in item.Comment)
          {
              Console.WriteLine(item2.CommentText);
          }
      }       
  }
  </code></pre>
  
  <p>It returns no comments related with documents.</p>
  
  <p>Tried Lazy, Eager and Explicit loading methods.</p>
  
  <p>What should I correct in my code?</p>