title: ORMLite error on insert with autoincrement key
body: <p>I have the following <code>MVC 5</code> <code>Model</code>:</p>
  
  <pre><code>[Schema("dbo")]
  [Alias("map")]
  public class Map {
      [PrimaryKey]
      [Alias("id")]
      public int Id { get; set; }
  
      [Alias("name")]
      public String Name { get; set; }
  
      //others
  
  }
  </code></pre>
  
  <p>The <code>id</code> attribute on the table is a <code>primary key autoincrement</code>.</p>
  
  <p>I need the <code>Id</code> to perform update operations but this prevents me to insert new entries.</p>
  
  <p>This <code>update</code> works:</p>
  
  <pre><code>var res = dbConnection.Update&lt;Map&gt;(map);
  </code></pre>
  
  <p>While this <code>insert</code> does not:</p>
  
  <pre><code>var res = dbConnection.Insert&lt;Map&gt;(map, selectIdentity: true);
  </code></pre>
  
  <p>I get this exception:</p>
  
  <blockquote>
    <p>Cannot insert explicit valuefor identity column in table 'map' when IDENTITY_INSERT is set to OFF.</p>
  </blockquote>
  
  <p>What can I do to solve this?</p>