您的位置:首页 > 其它

Entity Framework 问题集锦

2015-07-14 21:08 393 查看
作者:疯吻IT 出处:http://fengwenit.cnblogs.com

1. No Entity Framework provider found for the ADO.NET provider

方法很简单,添加下面的dll即可

EntityFramework.SqlServer.dll

2. Loading the include file 'EF.Utility.CS.ttinclude' returned a null or empty string

After reinstalling Entity Framework 6 Tools for Visual Studio 2012 http://www.microsoft.com/en-us/download/confirmation.aspx?id=40762 every thing went back to normal.

3. One or more types required to compile a dynamic expression cannot be found.

Add Reference -> .NET -> add Microsoft.CSharp.

4. Could not load type 'System.Data.Entity.Infrastructure.TableExistenceChecker

ccording to the description, The version of the EF in the gac is 6.0 instead of 6.1.3. So we can downgrade the EF version for the website via nuget.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: