ef not in

Posted zj19940610

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ef not in相关的知识,希望对你有一定的参考价值。

//not in linq  

技术分享图片
1 var xx=(from c in measStateDetail where !((from d in breakInstr select d.InstrCode).Contains(c.InstrCode)) select c).ToList() 
View Code

//not in ef

技术分享图片
1 listSP= query1.Where(m => !query2.Contains(m.ETPRS_CODE)).ToList();
View Code

 

以上是关于ef not in的主要内容,如果未能解决你的问题,请参考以下文章

detectron2报AttributeError: Attribute ‘evaluator_type‘ does not exist in the metadata of dataset(代码片段

报错“Field pet in XXX.HelloController required a bean of type ‘XXX.Pet‘ that could not be found.“(代码片段

[react] Module not found: Can't resolve 'schedule' in 'C:Usersadcaldvmtn7myapp (代码片段

解决go: go.mod file not found in current directory or any parent directory; see ‘go help modules‘(代码片段

EF Core - 代码优先迁移:关键字“NOT”附近的语法不正确

gitgit push 压缩包 或者 rpm包 安装包 无法解压 gzip: stdin: not in gzip format