title: System.Data.Entity.Infrastructure.DbUpdateException
body: <p>I created a Database First Entity Data Model under a WPF Project. I then added a DataGrid and Binded it to the model. I've been trying to add CRUD capability.</p>
  
  <p>All was good until I added a Button and tied its click event to save the updated data. Once I clicked on this I'd get the following runtime error.</p>
  
  <blockquote>
  <pre><code>System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
  </code></pre>
  </blockquote>
  
  <p>So I checked the inner exception and got the following:</p>
  
  <blockquote>
  <pre><code>System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details.&amp;mdash;&gt; System.NotSupportedException: Modifications to tables where a primary key column has property 'StoreGeneratedPattern' set to 'Computed' are not supported. Use 'Identity' pattern instead. Key column: 'Symbol_and_BenchmarkID'. Table: 'BenchMarkModel.Store.Weights'.
  </code></pre>
  </blockquote>
  
  <p>Where is <code>StoreGeneratePattern</code> so I can fix this?</p>