Entity Framework 问题集锦
作者:疯吻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.