entity framework - EntityFramework Code First - Sql Server Database Id Error -


when insert new record,sql server database table not save well-order auto increment.how can solve it? database table id increment of 1000

enter image description here

w

in order prevent collisions in rapid insertions, sql server provides default cache value auto incremented column. should not rely on order of column insert sequence of records. can use sequence generator no cache setting explained here


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

.htaccess - ERR_TOO_MANY_REDIRECTS htaccess -