在使用EF搭建三层框架时有问题。
EF在Model层创建的,我已经把App.config文件里的配置转到了UI层的web.config文件里了,可运行的时候提示:
Schema specified is not valid. Errors:
Donation.ssdl(2,2) : error 0152: No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient'. Make sure the provider is registered in the 'entityFramework' section of the application config file. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.
请问怎么回事啊?大神请回答一下,谢谢!