Hi
Guys, I have a hard time converting this below linq expression(left join implementation) to lambda expression (for learning).
var result = from g in grocery
join f in fruit on g.fruitId equals f.fruitId into tempFruit
join v in veggie on g.vegid equals v.vegid into tempVegg
from joinedFruit in tempFruit.DefaultIfEmpty()
from joinedVegg in tempVegg.DefaultIfEmpty()
select new { g.fruitId, g.vegid, fname = ((joinedFruit == null) ? string.Empty : joinedFruit.fname), vname = ((joinedVegg == null) ? string.Empty : joinedVegg.vname) };
Can some one suggest me how to do this.
And i really appreciate if someone give me the excellent tutorial links for "C# Lambdas & Linqs"
Cheers
Ramesh Vel