title: EF4 Self tracking entities navigation property
body: <p>I'm using EF4 with Self Tracking Entities T4 template.</p>
  
  <p>When I perform a select on entity Page (with navigation property Category) like:</p>
  
  <pre><code>var page = (from p in context.Page select p).FirstOrDefault();
  </code></pre>
  
  <p>The navigation property Category is always null.</p>
  
  <p>When I do it like this:</p>
  
  <pre><code>var page = (from p in context.Page.Include("Category") select p).FirstOrDefault();
  </code></pre>
  
  <p>The Category is loaded.</p>
  
  <p>Why do I have to use the include function with a hardcoded string? Is it not possible to have EF4 automatically load the navigation property when I access it?</p>
  
  <p>Or does that only work with EntityObjects and not STE?</p>