Select Where in LINQ

Asked

Viewed 1,660 times

1

How to convert code select below in LINQ?

select * from producao
where id not in
(select idProducao from bpi)
  • 1

    Italo, I answered a very similar question yesterday to your question http://answall.com/a/186100/5846

2 answers

4

3


producao.Where(p=>!bpi.Select(p=>p.idProducao).ToList().Contains(id))

Browser other questions tagged

You are not signed in. Login or sign up in order to post.