//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();