System.ServiceModel.DomainServices.EntityFramework DLL 在哪里?

发布于 2024-09-16 10:29:51 字数 213 浏览 3 评论 0原文

我正在尝试使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

冷清清 2024-09-23 10:29:51

您应该在以下位置找到它:-

Program Files[ (x86)]\Microsoft SDKs\RIA Services\v1.0\Libraries\Server

正如文件夹所示,这是一个服务器端 dll;如果您尝试添加到 Silverlight 项目中,那么这就是问题所在。它被设计为由 Web 项目或由 Web 项目引用的库项目引用。

You should find it in:-

Program Files[ (x86)]\Microsoft SDKs\RIA Services\v1.0\Libraries\Server

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.

流星番茄 2024-09-23 10:29:51

其较新版本也是 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文