我有两个 edmx 文件。
两者都包含表“applicationType”。
这意味着我有两个具有不同命名空间的对象 applicationType。当我尝试从一个查询时,
我收到以下错误 -
"Schema specified is not valid. Errors: \r\nMultiple types with the name
'ApplicationType' exist in the EdmItemCollection in different namespaces.
Convention based mapping requires unique names without regard to namespace
in the EdmItemCollection.\r\nThe relationship
'myModel.FK_ApplicationAttribute_ApplicationType' was not loaded because the type
'myModel.ApplicationType' is not available.\r\n"}
System.Data.EntityException {System.Data.MetadataException}
谁能建议如何查询它?