添加新的域服务类窗口不显示visual studio 2010 premium和Silverlight4_Tools(RC2)中linq到sql的任何实体 [英] Add new Domain Service class window is not displaying any of the entities from linq to sql in visual studio 2010 premium and Silverlight4_Tools (RC2)

查看:80
本文介绍了添加新的域服务类窗口不显示visual studio 2010 premium和Silverlight4_Tools(RC2)中linq到sql的任何实体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在带有Silverlight4_Tools(RC2)的visual studio 2010 premium(最新版本)中:


- 我用2个不同的表创建了一个dbml(linq to sql)(尝试了所有不同的选项,已编译,更改了dbml属性等)


- 我尝试添加新的DomainService,我无法查看或选择来自dbml的实体在上面创建


- 但如果我使用实体数据模型(实体框架)


,这工作正常 - 我在我的一个中尝试了相同的朋友的laptope,并得到同样的问题


- 请让我知道你为什么会这样做的想法..


- 我需要使用linq来sql因为我需要迁移当前使用linq到sql的Silverlight应用程序


- 我的操作系统是WIN 2008 R2 / VISUAL STUDIO 2010 + Silverlight4_Tools(RC2)+ Silverlight_4_Toolkit_April_2010(全部安装顺利没有错误,我的机器上没有安装以前的版本)

解决方案

您可能会在RIA服务论坛上获得更好的运气:  http:// forums .silverlight.net /论坛/ 53.aspx

In visual studio 2010 premium (latest version) with Silverlight4_Tools (RC2):

- I created a dbml (linq to sql) with 2 different tables (tried all different options, compiled, changed the dbml properties etc)

- I tried to add a new DomainService and I am not able to view or select the entities from the dbml created above

- But this is working fine if I am using Entity Data Model (Entity framework)

- I tried the same in one of my friend's laptope, and getting the same issue

- Pls let me know your thoughts why this is happening..

- I need to use linq to sql as I need to go for migration of current silverlight app which is using linq to sql

- my operating system is WIN 2008 R2 / VISUAL STUDIO 2010 + Silverlight4_Tools (RC2) + Silverlight_4_Toolkit_April_2010 (All installations went fine without error, I don't have previous versions installed in my machine)

解决方案

You will probably have better luck at the RIA Services forums: http://forums.silverlight.net/forums/53.aspx


这篇关于添加新的域服务类窗口不显示visual studio 2010 premium和Silverlight4_Tools(RC2)中linq到sql的任何实体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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