文章出處
文章列表
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 的引用即可
文章列表
全站熱搜