Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 16, 2012 12:14 AM by Decker Dong - MSFT
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
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.
Nov 15, 2012 03:40 AM|LINK
Checkout following link
Nov 16, 2012 12:14 AM|LINK
I fix this error by deleting the offending associations,
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.