首页 > 其他 > 详细

Entityframework 问题集锦

时间:2015-07-14 22:05:44      阅读:952      评论:0      收藏:0      [点我收藏+]

 

作者:疯吻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.

Entityframework 问题集锦

原文:http://www.cnblogs.com/fengwenit/p/4646585.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!