title: ADO.NET Entity Model + DataGridView: How to write changes to database
body: <p>I have an ADO.NET Entity Data Model and want to plumb up a DataGridView for CRUD operations. How should I go about this?</p>
  
  <p>For a read-only DataGridView I've been doing the following </p>
  
  <pre><code>TimeTrackEntities tte = new TimeTrackEntities();  //Entity Data Model
  ObjectQuery&lt;Days&gt; DayQuery = tte.Days;
  dgvDays.DataSource = DayQuery;  
  </code></pre>