How to configure ProviderManifestToken for EF Code First

后端 未结 10 1157
-上瘾入骨i
-上瘾入骨i 2020-11-27 05:49

I have a asp.net MVC3 project using EF code-first. For my unit testing I have been using SQL Server CE 4.0 and SQL Server 2008 Express. Both have worked perfectly with EF ge

10条回答
  •  佛祖请我去吃肉
    2020-11-27 06:40

    I had this problem when working through the MVC3 tutorial on ASP.NET.

    My solution ended up being to use (localhost) instead of a named Data Source. This works fine on my box, for local dev work, but wouldn't help if the database were on a separate server.

提交回复
热议问题