ADO.NET provider with invariant name &#39…

2018-06-17 19:31:20来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折

The Entity Framework provider type 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer' registered in the application config file for the ADO.NET provider with invariant name 'System.Data.SqlClient' could not be loaded. Make sure that the assembly-qualified name is used and that the assembly is available to the running application. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.

 

  出现问题的原因:缺少dll的引用,在引用EF类库时,如果只引用EntityFramework不引用EntityFramework.SqlServer的话就会遇到这样的错误,所以这个问题的解决方案就是:添加对 EntityFramework.SqlServer.dll 的引用即可

 

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:数据库中最简单最原始的聚合函数

下一篇:各大招聘网站信息实时查询浏览【二】