First I have added data using modelBuilder in database. enter image description here and after this I have applied add-migration command and update-database command. Now if I try to add new data of Id-6, then it is deleting previously added data(id-1 to 5) from the database. enter image description here My question is I want to keep data from Id 1 to 5 in the database and when I again apply migration I want data with Id 1 to 6.
Now if I try to add new data of Id-6, then it is deleting previously added data(id-1 to 5) from the database. enter image description here My question is I want to keep data from Id 1 to 5 in the database and when I again apply migration I want data with Id 1 to 6.