I have a list(of t) and I got a iqueryable(of a)
I want to filter out any item from the iqueryable(of a) where a.id = t.myotherid
I'm not really sure how to write this query, anyone could help me here?
For now I got this
Dim listCie = (From c In db.getListCompany() _
Where Not rels.Select(Function(a) a.ChildID).Contains(c.ID) _
And Not rels.Select(Function(a) a.ParentId).Contains(c.ID) _
Select c)
question is, should I use .Any or is there any better way?