title: What is the recommended identity generation approach in Entity framework?
body: <p>I am interested in what is the most performant way for StoreGeneratedPattern.</p>
  
  <p>In past I was used to let the DB generate the ID for me but I was wondering if there is any advantage in setting</p>
  
  <pre><code>StoreGeneratedPattern = None 
  </code></pre>
  
  <p>instead of</p>
  
  <pre><code>StoreGeneratedPattern = Identity
  </code></pre>
  
  <p>I am not even sure what happens when I set it to Calculated.</p>
  
  <p>Any recommendations? Is there any nice article related to this because msdn is not very explanatory. I am using mostly ints with few GUIDs in my schema.</p>