title: MSCRM: How to create entities and set relations using the xRM linq provider
body: <p>Do I need to save newly created CRM-entity instances before I can set relations to other crm entity instances?</p>
  
  <p>I'm facing the problem that after calling <code>CrmDataContext.SaveChanges()</code> the newly created entities are written to the database, but the relations between those newly created instances are missing in the database.</p>
  
  <p>What do I miss? Do I have to call <code>CrmDataContext.SaveChanges()</code> each time I create a new crm entity instance that I want to have relations to other CRM-entity instances?</p>