title: SQLite + Entity Framework 4.0 + Identity column/Autoinc does not work
body: <p>This is my table:</p>
  
  <pre><code>-- Original table schema
  CREATE TABLE [SchoolYear] (
      [Start] datetime NOT NULL,
      [End] datetime NOT NULL,
      [Id] integer PRIMARY KEY ON CONFLICT ABORT AUTOINCREMENT NOT NULL
  );
  </code></pre>
  
  <p>My Entity in the EF designer has StoredGeneratedPattern set to Identity OR Compute and datatype is int64.</p>
  
  <p>Everytime I insert a second SchoolYear object I get this error:</p>
  
  <blockquote>
    <p>An object with the same key is already in the ObjectStateManager...</p>
  </blockquote>