我正在连接到Oracle数据库,并希望使用Include以下命令进行简单查询:
但我收到这个错误:
CS1061 'ISessionTable<People>' does not contain a definition for 'Include' and no extension method 'Include' accepting a first argument of type 'ISessionTable<People>' could be found (press F4 to add a using directive or assembly reference)
Run Code Online (Sandbox Code Playgroud)
我已经添加了这些参考文献:
System.Data.Entity.dll
System.Data.Linq.dll
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3530 次 |
| 最近记录: |