How do I inner join multiple columns from the same tables via Linq?
For example: I already have this...
join c in db.table2 on table2.ID equals tab
You can put your query inside a Where clause instead of using the join operator.
The join operator supports multiple clauses in VB.NET, but not C#.
Alternatively, you can use the ANSI-82 style of 'SQL' syntax, e.g.:
from t1 in table1 from t2 in table1 where t1.x == t2.x && t1.y == t2.y