I am getting following error
The model backing the 'XYZ' context has changed since the database was created.
How can get to know the Entity / Entities which are casuing issues for logging purposes?
I am getting following error
The model backing the 'XYZ' context has changed since the database was created.
How can get to know the Entity / Entities which are casuing issues for logging purposes?
The entity name you are having issue with is 'XYZ' of course, as it it exactly specified in the error you posted.
Although i'm not sure which exception you have to catch, and you should probably not do it, it is clear what you have to do.
Here is some helpful information :
The model backing the <Database> context has changed since the database was created
Also been discused here :
Where it is told that catch (PlatformNotSupportedException)
may be related. But has i said, this may not be the solution at all.
Finally, the problem may be even deeper, if it's the case, look at this :