title: SQlite Integer Primary Key on Code First EF Core
body: <p>How can I set &quot;integer primary key&quot; in code first to avoid getting not null constraint failed error?</p>
  <p>I want my Ids to be auto incremented on data insert.
  Id property is tagged with <code>Key</code> and <code>DatabaseGeneratedOption.Identity</code>.</p>
  <p>I can't change anything directly on database</p>