This is the only way I was able to get it to work (in c#).
var qry = from t1 in table1
join t2 in table2
on new {t1.ID,t1.Country} equals new {t2.ID,t2.Country}
...
More Related Contents:
- What is the syntax for an inner join in LINQ to SQL?
- Is LINQ to SQL Dead or Alive?
- Does AutoMapper support Linq?
- How to do a join in linq to sql with method syntax?
- How do I update a Linq to SQL dbml file?
- LINQ: combining join and group by
- Benchmark Linq2SQL, Subsonic2, Subsonic3 – Any other ideas to make them faster?
- ASP.MVC: Repository that reflects IQueryable but not Linq to SQL, DDD How To question
- Explicit construction of entity type ‘###’ in query is not allowed.
- Why use LINQ Join on a simple one-many relationship?
- NOLOCK with Linq to SQL
- Common Table Expression (CTE) in linq-to-sql?
- Convert SQL to LINQ to SQL
- C# Linq-to-Sql – Should DataContext be disposed using IDisposable
- T4 template to Generate Enums
- Using System.Data.Linq in a Razor view
- How to display data in JOIN, and return null value? [closed]
- Why isn’t SQL ANSI-92 standard better adopted over ANSI-89?
- Why does X[Y] join of data.tables not allow a full outer join, or a left join?
- Is there something wrong with joins that don’t use the JOIN keyword in SQL or MySQL?
- LINQ to SQL: Multiple joins ON multiple Columns. Is this possible?
- How to compare only Date without Time in DateTime types in Linq to SQL with Entity Framework?
- Linq version of SQL “IN” statement
- LINQ Join with Multiple Conditions in On Clause
- LINQ and pagination [duplicate]
- Difference between RIGHT & LEFT JOIN vs RIGHT & LEFT OUTER JOIN in SQL [duplicate]
- MySQL Inner Join Query Multiple Tables
- Polymorphism: Is ORM entity a Domain Entity or Data Entity?
- MySQL LEFT JOIN 3 tables
- How to exclude rows that don’t join with another table?