title: How to regenerate EDMX file?
body: <p>I'm working on a .Net 4.0 project which uses Entity Framework 4. Our underlying data model has changed and I'd like to update the Entity Framework components, specifically the model's EDMX file. Currently I'm doing this task manually and it's both time consuming and error prone.</p>
  
  <p>Is there a way to regenerate the EDMX file automatically?</p>
  
  <p>In addition, I would prefer if the model classes are NOT regenerated, as these have been extended with additional logic. I'm okay with manually editing these classes, I just want an automated way to generate the EDMX file.</p>