didiHamman
didiHamman

Reputation: 798

Entity Framework Code First The model backing the '<Database>' context has changed since the database was created

Is there a way of determining the differences between the database context you are using and the database you are connecting to so that you can update your database accordingly when you receive the message:

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

?

Upvotes: 0

Views: 667

Answers (1)

Ladislav Mrnka
Ladislav Mrnka

Reputation: 364389

No but you can change connection string, create database again and use some diff tool to compare databases (for example Visual Studio 2010 Premium or Ultimate, or tools from RedGate).

Upvotes: 1

Related Questions