在域服务类中添加方法,但更改未反映在Silverlight中 [英] Add a method in domain service class but changes are not reflecting in silverlight

查看:107
本文介绍了在域服务类中添加方法,但更改未反映在Silverlight中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我已经使用实体框架模型为当前数据库体系结构创建了一个域服务类(WCF RIA Services).
我在域服务类中添加了一个方法,该方法用于从两个表中获取记录.

但是更改未反映在silverlight文件中.

请给我一个解决方案!!!

问候
Piyush

Hi
I have created a domain service class (WCF RIA Services) for the current architecture of database using entity framework model.

I have added a method in domain service class which is used to get a record from two tables.

But the changes are not reflecting in silverlight file.

Kindly give me a solution for that!!!

Regards
Piyush

推荐答案

尝试清除浏览器缓存,然后重新加载页面. XAP文件必须更新,还请检查页面上是否有脚本错误.我知道您的问题很旧,您可能已经想出了解决方案,在这种情况下,我将要求您结束此问题.

干杯
Try clearing the browser cache and then reload the page. The XAP file has to be updated, also check for any script errors on the page. I know your question is old and you probably may have figured out the solution in which case I would request you to close this question.

Cheers


这篇关于在域服务类中添加方法,但更改未反映在Silverlight中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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