Error 2009: the propery 'some_property' is not a key member of the EntityType. Only key members can be mapped as part of the EndProperty mapping.
I fix this error by deleting the offending associations, but it returns every time I update the edmx file. I am also not sure what happened to cause this error. as this error was caused by another developer messing around with the file, but I have to fix
it.
I guess that there is something I need to delete out of the database and re-update to make it work, but I don't know what that is.
I fix this error by deleting the offending associations,
Hello,
This error means that there's not sychronized steps between your real entity models and your real tables. So you have to delete your edmx file to create another new one to map to your latest one.
AlphaWhelp
Member
2 Points
23 Posts
Bizarre edmx error keeps returning after an update.
Nov 14, 2012 09:28 PM|LINK
Error 2009: the propery 'some_property' is not a key member of the EntityType. Only key members can be mapped as part of the EndProperty mapping.
I fix this error by deleting the offending associations, but it returns every time I update the edmx file. I am also not sure what happened to cause this error. as this error was caused by another developer messing around with the file, but I have to fix it.
I guess that there is something I need to delete out of the database and re-update to make it work, but I don't know what that is.
iGulfam
Contributor
4794 Points
947 Posts
Re: Bizarre edmx error keeps returning after an update.
Nov 15, 2012 03:40 AM|LINK
Checkout following link
http://issuesdotnet.blogspot.com/2012/08/no-mapping-specified-for-following.html
My BLOG
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: Bizarre edmx error keeps returning after an update.
Nov 16, 2012 12:14 AM|LINK
Hello,
This error means that there's not sychronized steps between your real entity models and your real tables. So you have to delete your edmx file to create another new one to map to your latest one.
Reguards!