How to use IN clause having a list as reference?
List<PostOrcamentoServico> lOrcamentos = db.PostOrcamentoServico.Where(o => !o.Post.Usuarios.UsuEmail.Contains(User.Identity.Name) &&
usuario.Clientes.Servicos.Contains(o.Servicos))
.ToList();
in the above example, o.Servicos is a list.
Resuming: What I dould like to know how to do is use IN, however, using a list as reference:
myList.Contains(anotherList)