Id's jumping up 1000 every time I build my app and insert a new record

asp.net-core entity-framework entity-framework-core

Question

I'm creating a simple CRUD page using asp.net for beginners. Tutorials -core-mvc/ef-core

My Ids have been increasing by 1000 each time I rebuild and add a new record to my mvc site.

For instance, right now, the ids for my first few rows are:

  • 1, 2, 1002, 1003, 1004, 2002, 2003, 3002, 3003, 4002, 5002

How can I stop it? This conduct is brand-new to me. Upon more research, it seems to be a sql 2012 problem, but I'm not using sql 2012.

Everything is up to date, I'm using mssqllocaldb, and I have SSMS2014 installed.

1
8
9/24/2016 2:57:12 AM

Accepted Answer

ZZZ_tmp
5
3/5/2019 3:28:06 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow