title: Entity Framework 4.1 doesn't load relationships after SaveChanges?
body: <p>I'm relatively new to EF. It appears that related table data isn't available after I call SaveChanges.</p>
  
  <p>Let's say that I have a database with the following tables: User, Feature, and FeatureUser. FeatureUser ties User and Feature records together. I have a method which accepts a Feature object and it populates a list with User.name values based on the FeatureUser table. This works fine:</p>
  
  <pre><code>using (var db = new projectModel())
  {
    feature f = db.features.First();
    populateList(f);
  }
  
  private void populateList(feature f)
  {
    foreach(featureuser fu in f.featureusers)
      addToList(fu.user.name);
  }
  </code></pre>
  
  <p>The important point in the code above is that I get back to the User.name value via the FeatureUser table's built-in link back to the User table. What doesn't work is to create new FeatureUser records, then save them, then attempt to follow that same process:</p>
  
  <pre><code>using (var db = new projectModel())
  {
    feature f = db.features.First();
    foreach(int newuserid in somearray)
    {
      featureuser nfu = new featureuser();
      nfu.featureid = f.id;
      nfu.userid = newuserid;
      f.featureusers.add(nfu);
    }
    db.SaveChanges();
    populateList(f); // null reference error on fu.user.name
  }
  </code></pre>
  
  <p>Is there a way to tell EF to resolve all those handy built-in relationship collections once I've established and saved the foreign keys needed to create the relationships?</p>