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()
//not in ef

1 listSP= query1.Where(m => !query2.Contains(m.ETPRS_CODE)).ToList();
以上是关于ef not in的主要内容,如果未能解决你的问题,请参考以下文章