码迷,mamicode.com
首页 > 其他好文 > 详细

Entityframework 问题集锦

时间:2015-07-14 22:08:48      阅读:262      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!