System.ServiceModel.DomainServices.EntityFramework DLL 在哪里?
我正在尝试使用 RIA 服务,我安装了 Silverlight 4 和 Silverlight 4 Tools/SDK,但无法设置 LINQToEntitiesDomainService,因为我找不到此命名空间/程序集:System.ServiceModel.DomainServices.EntityFramework。这个程序集从哪里来,不知道为什么它丢失了?这是我缺少的附加组件吗?
谢谢。
I'm trying to use RIA services, I installed Silverlight 4 and Silverlight 4 Tools/SDK, but I cannot setup a LINQToEntitiesDomainService because I can't find this namespace/assembly: System.ServiceModel.DomainServices.EntityFramework. Where does this assembly come from, not sure why it's missing? Is that an add-on I'm missing?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您应该在以下位置找到它:-
正如文件夹所示,这是一个服务器端 dll;如果您尝试添加到 Silverlight 项目中,那么这就是问题所在。它被设计为由 Web 项目或由 Web 项目引用的库项目引用。
You should find it in:-
As the folder suggests this is a server-side dll; if you are attempting to add to your Silverlight project then that would be the problem. Its designed to be referenced by the Web project or a library project that is reference by the web project.
其较新版本也是 RIA 服务工具包的一部分,特别是 NuGet 包“RIA Services for EntityFramework Code-First (DbContext)”。如果您想使用较新版本的 EF,则需要。
A newer version of this is also part of the RIA Services Toolkit, in particular the NuGet package "RIA Services for EntityFramework Code-First (DbContext)". Needed if you want to use a newer version of EF.