I have a list, and I want to grab two sets of rows from that list based on myID value. However, I don't want to grab 2 items with the same value in "myOtherField". This is easy enough in SQL. Can I accomplish this in Linq?
select * from myTable where myID = 25
union
select * from myTable where myID = 35
and myOtherField not in (select myOtherField from myTable where myID = 25)