【发布时间】:2012-10-11 15:43:06
【问题描述】:
当使用 EF Code First 时,VS 2012 中的 WCF RIA 服务向导(在添加新的 DomainService 时运行)似乎无法识别项目中定义的 DbContexts(它只识别 ObjectContext)。
这意味着在 VS2012 中添加新项目并选择添加 DomainServiceClass 时,向导无法检测到可用的上下文类 * 组合列表为空 *
请看附图
知道这里会发生什么吗? 谢谢, -Sumit
【问题讨论】:
-
你安装了RIAServices.EntityFramework NuGet 包吗?
-
嗨布莱斯!是的,我已经安装了 NuGet 包。还是不行
标签: entity-framework ef-code-first wcf-ria-services code-first domain-service-class