Message in Spanish (Español)
La entidad especificada no se puede eliminar del ObjectSet porque es un miembro del EntitySet '<var>X</var>.<var>Y</var>' y no del EntitySet '<var>Z</var>.<var>A</var>' al que hace referencia el ObjectSet. Use el método DeleteObject en el ObjectSet que contiene la entidad o use el método ObjectContext.DeleteObject si desea eliminar la entidad sin validar su EntitySet.
Unlocalized message
The specified entity cannot be deleted from the ObjectSet because the entity is a member of the EntitySet '<var>X</var>.<var>Y</var>' instead of the EntitySet '<var>Z</var>.<var>A</var>' that is referenced by the ObjectSet. Use the DeleteObject method on the ObjectSet that contains the entity, or use the ObjectContext.DeleteObject method if you want to delete the entity without validating its EntitySet.
Search by Google