【发布时间】:2012-03-21 09:01:37
【问题描述】:
在 NuGet 上有包:
EntityFramework.Migrations
英孚 4.3.1
英孚 4.1
RIA 服务,依赖于 EF
EntityFramework.Migrations 不起作用,因为它现在包含在 EF 4.3+ 中
我使用的是 Code First 方法,因此我需要 DbDomainService 类,该类在未安装 RIA 服务时不可用。
上面是否有任何独立下载可以在我的项目中手动引用?
编辑:
我从 NuGet 包中删除了 RIA,将 EF 升级到 4.3.1,然后按照此处的建议手动从工具包中引用 RIA EntityFramework lib:Can I use RIA Services with Entity Framework 4.3?
不幸的是,现在我收到以下错误:
The following exception occurred creating the MEF composition container:
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
The default code generator will be used.
【问题讨论】:
标签: entity-framework ef-code-first wcf-ria-services ria