I search a lot about dynamic join on DataTables, I found:
Inner Join With Dynamic Columns
Join DataTable Support Left-Right-Full
But I can't find any general solution, assume this scenario for join two tables:
DT1 Left Join DT2 On DT1.Id != DT2.Id
Or
DT1 Right Join DT2 On ((DT1.Age + 2) = DT2.Age) OR (DT1.BirthDate > DT2.BirthDate))
As you see I need some general solution to Dynamically Join between two DataTables with complex Where clause, I have a Data Structure to support complex Where Clauses, But How can I Join Dynamically? any suggestion?