I have a statement similar to this that I need to run in Linq. I started down the road of using .Contains, and can get the first tier to work, but cannot seem to grasp what I need to do to get additional tiers.
Here's the SQL statement:
select *
from aTable
where aTableId in
(select aTableId from bTable
where bTableId in
(select bTableId from cTable
where cTableId in
(select cTableId from dTable
where dField = 'a guid'
)
)
)