美文网首页
Linq lazy loading

Linq lazy loading

作者: 折叠小猪 | 来源:发表于2017-02-22 19:27 被阅读0次

还好有同事在旁边助攻!

Unable to create a constant value of type Only primitive types or enumeration types are supported in this context

Error: Only primitive types or enumeration types are supported in this context.

反正就是分别在database和memory中的set不能join啦,老老实实都给toList(),至于lazy loading,希望明天我还记得查。

2.23补:不只是不能join,他们之间无法做任何Linq的相互操作,想想也是,一个在database,一个在memory。

相关文章

网友评论

      本文标题:Linq lazy loading

      本文链接:https://www.haomeiwen.com/subject/tuwmwttx.html