不能在 Linqpad 中使用 "Include"
cannot use "Include" in Linqpad
我正在连接到 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)
我已经添加了这些参考:
System.Data.Entity.dll
System.Data.Linq.dll
我正在连接到 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)
我已经添加了这些参考:
System.Data.Entity.dll
System.Data.Linq.dll