未找到具有固定名稱System.Data.SqlClient的ADO.NET提供程序

出現這個問題的原因是因爲未添加Entity Framework 的引用或缺失配置文件; 1:添加EntityFramework.SqlServer.dll引用; 2:web.config裏添加EF相關配置:  <configSections>     <!-- For more information on Entity Framework configuration, visit http://
相關文章
相關標籤/搜索