this is my problem. i changed db position, first it was on an external server and i exported it on my local position (./SQLEXPRESS) now i can't make insert record because it says that the record contain NULL id value. But it is correct because it is an auto-increment and i pass "0" or null for tell my db to insert a row (it is db.mytable.add(myrow) and it is the base behavior). why now it tells me to pass a row with setted id?
this is the simply code
db.Company.Add(company);
db.SaveChanges();
and it give error on SaveChanges
i think it is a db owner problem