i use entity framework 6.0 on my website .
i have a table to inserting some data and this table has identity column like ID (int) and my identity seed is equal to 1;
some time when i look at this table by sql management studio i encounter by jumping this ID to the big number ,for example from 30 jumped to 10024.
why this happens? is it a bug or what?
i past here my sample code that i insert a data to this table by some codes like this:
using (var context = new MyModelDBEntities())
{
mytable mt=new mytable;
mt.name=""; //for example
context.mytables.add(mt);
context.SaveChanges();
}
is this codes normal? what happend to my table then, that identity number jump to a big number?