我正在使用WS类,当我运行应用程序时它给了我错误:
The type or namespace name 'Entity' does not exist in the namespace 'System.Data'
Run Code Online (Sandbox Code Playgroud)
我有一个参考System.Data;,System.Data.Entity;
但没有变化.我一直在收到错误.我也在web.config中行:
<compilation debug ="true" targetFramework="4.0"/>
Run Code Online (Sandbox Code Playgroud)