Wednesday 15 January 2014

c# - "The model backing the context has changed since the database was created" only some machines. On others everything is fine -



c# - "The model backing the context has changed since the database was created" only some machines. On others everything is fine -

i have wpf application references datamodel project. project references entity framework (ef) , has datacontext class defined. in datacontext class have dbset of entities called client.

now, in wpf application have mainviewmodel class contains list of clients populated clients database (using ef). have dropdown bound list.

the problem on machine, machine of 2 other developers , servers works should. however, on 3 machines of other random people (not developers) exception thrown: "the model backing 'datacontext' context has changed since database created.". how explain that? same application connecting same database , yet such difference...any ideas?

i using .net 4.5.1 , ef 6.1.1

c# wpf entity-framework datacontext

No comments:

Post a Comment