I have TableA and TableB, where TableA has composite primary key which is referenced in TableB. Composite columns are available in string array. How can I get rows of TableB matching with those of TableA using columns in string array which comes dynamically where TableA and TableB are loaded loosly in dataset.
Say e.g.
string[] arTableA = new string[]{Composite key columns of A};
string[] arTableB = new string[]{Composite key columns of B};
var Result = (from A in TableA)
join B in TableB on new {arTableA } equals new {arTableB}
select TableB.Columns