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

前端 未结 21 1446
情话喂你
情话喂你 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:47

    From the Tools menu, click NuGet Package Manger, then click Package Manager Console (PMC). Enter the following commands in the PMC.

    Enable-Migrations Add-Migration Init Update-Database Run the application. The solution to the problem is from here

提交回复
热议问题