派生资源类型中ResourceSetReference类的属性

派生资源类型中ResourceSetReference类的属性

本文介绍了派生资源类型中ResourceSetReference类的属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

推荐答案

有关此问题的一些事项:

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?

谢谢,


这篇关于派生资源类型中ResourceSetReference类的属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 04:04