This article is a mirror article of machine translation, please click here to jump to the original article.

View: 17818|Reply: 0

[Tips] The model that supports the "xx" context has changed since the database was created

[Copy link]
Posted on 4/22/2019 9:42:35 AM | | | |
The model that supports the "itsvseDb" context has changed since the database was created. Consider updating your database using Code First migration (The hyperlink login is visible.)。



Solution 1:

Update the model, refer to the following:

ef Perform the Add-Migration error resolution
https://www.itsvse.com/thread-4889-1-1.html
(Source: Architect_Programmer)

Solution 2:

Close the database initializer and add the following code to the configuration file:

Reference:

Database initialization strategy in EF 6 Code-First
https://www.itsvse.com/thread-7441-1-1.html
(Source: Architect_Programmer)






Previous:The Art of Computer Programming 4 volumes
Next:Express or label printer with scanning gun development documents
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com