首页 > 其他 > 详细

EntityFramework报错

时间:2017-10-31 18:15:43      阅读:278      评论:0      收藏:0      [点我收藏+]

{"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."}

 

在UI层调用了DB层的方法,报以上错误

 解决办法:

在UI层也加载EntityFramework.dl文件!

EntityFramework报错

原文:http://www.cnblogs.com/kevinzhk/p/7762638.html

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