如何在结果中包含字段。 RIA服务 [英] How do you include a field in your result. RIA Services

查看:51
本文介绍了如何在结果中包含字段。 RIA服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

表: 条件

ConditionId

描述

PersonId


表:人士
PersonId

名称


当我通过ria服务检索条件时,它不会包含Person表,只包含PersonId。 


当我选择使用include方法时,它会失败。


任何想法?


 


 


 

解决方案

你好,


 


欢迎来到EF论坛!


 


您能否向我们提供有关您遇到的问题的更多详细信息?  
在包含相关实体时,您遇到的错误或异常是什么?  
此外,这里有关于构建WCF RIA服务的参考资料的优秀教程,
http://www.silverlightshow.net/items/Building -N-tier-business-applications-with-WCF-RIA-Services-Part-II.aspx   


 


此外,对于RIA服务问题,您也可以咨询RIA服务论坛,
http://forums.silverlight.net/forums/53.aspx


 


度过愉快的一天!


 


最诚挚的问候,b
Lingzhi Sun


< span style ="color:#1f497d; font-size:12pt"> MSDN用户支持
在论坛


< span style ="font-size:12pt"> 如果您对我们的支持有任何反馈,请联系
msdnmg@microsoft.com


Table:  Condition
ConditionId
Description
PersonId

Table: Person
PersonId
Name

When I retrieve the conditon over ria services, it does not inlcude the Person table, only the PersonId. 

When I select use the include method it fails.

Any ideas?

 

 

 

解决方案

Hello,

 

Welcome to EF forum!

 

Could you please provide us with more detailed information about the issue you encountered?   What’s the error or exception do you meet when including the related entities?   Besides, here is a great tutorial for your references about building a WCF RIA services, http://www.silverlightshow.net/items/Building-N-Tier-business-applications-with-WCF-RIA-Services-Part-II.aspx.  

 

Also, for RIA Services issues, you can consult the RIA Service forum as well, http://forums.silverlight.net/forums/53.aspx

 

Have a nice day!

 

Best Regards,
Lingzhi Sun

MSDN Subscriber Support in Forum

If you have any feedback on our support, please contact msdnmg@microsoft.com


这篇关于如何在结果中包含字段。 RIA服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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