更新时间:2023-08-21 09:32:34
您好,
有关此问题的一些事项:
Things which come to mind regarding this issue:
- WCF数据服务不支持在派生类型上声明的导航属性(ResourceSetReference和ResourceReference)。您要使用的所有导航属性都需要在基类型上声明。
- WCF Data Services doesn't support navigation properties (ResourceSetReference and ResourceReference) declared on derived types. All the navigation properties you are going to use need to be declared on the base type.
- 确保您的IDataServiceMetadataProvider.GetResourceAssociationSet按预期工作。
- Make sure that your IDataServiceMetadataProvider.GetResourceAssociationSet works as expected.
- 如果你访问基类型的实例,你在那里看到那些属性吗?
- If you access an instance of the base type, do you see those properties there?
谢谢,