title: After seeding data in EFCore 3.1.1 code first, is it possible to set identity value to last id inserted + 1?
body: <p>So, i am seeding some Identity Server Users with Id's 1,2,3 and 4 respectively. After trying to insert a new user after running the application, i have to 'try' to insert 4 times, before the ID is set at 5 and i can start inserting without errors. </p>
  
  <p>I have tried searching for an answer, but have came up short. The question - is this doable trough Code-First approach, by using the ModelBuilder or query to database after seeding is done?</p>
  
  <p>Also, i am using PostgreSQL database with code-first approach in Asp Net Core application.</p>
  
  <p>EDIT: Also, here is all the ID column constraints, which show that it is a identity column.</p>
  
  <p><a href="https://i.stack.imgur.com/UI9uk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UI9uk.png" alt="enter image description here"></a></p>