Message in Chinese (Simplified) (中文(简体))
无法从 ObjectSet 删除指定的实体,因为该实体是 EntitySet“<var>X</var>.<var>Y</var>”的成员,而非 ObjectSet 引用的 EntitySet“<var>Z</var>.<var>A</var>”的成员。请对包含该实体的 ObjectSet 使用 DeleteObject 方法,或者如果要在不验证该实体的 EntitySet 的情况下删除该实体,请使用 ObjectContext.DeleteObject 方法。
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