The model backing the 'ApplicationDbContext' context has changed since the database was created

前端 未结 21 1516
情话喂你
情话喂你 2020-12-02 07:24

First of all, I have not seen this error anywhere else and I guess it\'s not a replicate so please read the whole situation first.

Everything was working just fine

21条回答
  •  感情败类
    2020-12-02 07:45

    this comes because you add some property to one of your model and you did not update-Database . to solve this you have to remove it from model or you have to add-migration anyProperName with that properties and Update-database.

提交回复
热议问题