title: Want Entity Framework 6.1 eager loading to load only first level
body: <p>I am not sure I am approaching wrong way or it is a default behaviour but it is not working the way I am expecting ...</p>
  
  <p>Here are two sample classes ...</p>
  
  <pre><code>public class Person
  {
      public string FirstName { get; set; }
      public string LastName { get; set; }
  
      public Department Department { get; set; }
  }
  </code></pre>
  
  <p>Second one is Department </p>
  
  <pre><code>public class Department
  {
      public string Name { get; set; }
  
      public List&lt;Person&gt; People { get; set; }
  }
  </code></pre>
  
  <p>Context Configuration </p>
  
  <pre><code>public MyDbContext() : base("DefaultConnection") 
  {
      this.Configuration.ProxyCreationEnabled = false;
      this.Configuration.LazyLoadingEnabled = false; 
  }
  
  public DbSet&lt;Person&gt; People { get; set; }
  public DbSet&lt;Department&gt; Departments { get; set; }
  </code></pre>
  
  <p>I am try to load people where last name is from 'Smith'</p>
  
  <pre><code>var foundPeople 
          = context
                .people
                .Where(p =&gt; p.LastName == "Smith");
  </code></pre>
  
  <p>Above query load foundPeople with just FirstName and LastName no Department object. It is a correct behaviour as my LazyLoading is off. And that was expected as well.</p>
  
  <p>Now in another query with Eager loading Department, </p>
  
  <pre><code>var foundPeople 
          = context
                .people
                .Where(p =&gt; p.LastName == "Smith")
                .Include(p =&gt; p.Department);
  </code></pre>
  
  <p>Above query loads foundPeople with FirstName, LastName, Department with Department->Name as well as Deparment->People (all people in that department, which I dont want, I just want to load first level of the Included property.</p>
  
  <p>I dont know is this an intended behaviour or I have made some mistake. </p>
  
  <p>Is there any way to just load first level of Included property rather then complete graph or all levels of included property.</p>