Linq join query in C#

Feb 13 2017 1:39 PM
i have the following query in Linq. how can i convert this one into list or data table without loops.
var joinedList = (from lid in liDtls
join licomd in liCommoDtls on lid.QLFBOMId equals licomd.QLFBOMId into temp
from detail in temp.DefaultIfEmpty()
select new
{
CommoidAppl = detail == null ? String.Empty : "Y"
});
 

Answers (1)