I Would like to build the dynamic Linq to Sql query for inner join clause where inner join will include multiple dynamic columns for joining.
Below is the query at compile time which i need to acheive dynamically:
var source = lParent.GroupJoin(lChild,
p => new{ p.PID,p.CategoryId (These are dynamic columns)}
c => new{ c.PID,c.CategoryId (These are dynamic columns)}
(p, g) => new { Parent = p, Childs= g })
Thank you.