Suppose i have
class A
{
int id;
IQueryable<B> bs;
}
class B
{
int id;
int AId;
IQueryable<C> cs;
}
class C
{
int id;
int AID
int Bid;
}
and in sql i could join them like
select * from A
left join b on a.Id = B.AID
left join c on a.ID = c.AId and b.id = c.bID
How could i do that with a lambda? I know in general left join is done with group join, but i don't see how to get the keys needed for c