派生资源类型中ResourceSetReference类的属性 [英] Properties of ResourceSetReference kind in derived resource types

查看:129
本文介绍了派生资源类型中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类的属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆