title: Entity Framework .Include() with compile time checking?
body: <p>Consider the following code, which is calling against an EF generated data context:</p>
  
  <pre><code>var context = new DataContext();
  var employees = context.Employees.Include("Department");
  </code></pre>
  
  <p>If I change the name of the  Department relationship then this code is going to start throwing a runtime error.  So is there any way to call the .Include() method in a safe manner, so I get compile time checking for all the relationships being referenced?</p>