I've created three table's name: emps, emp_project, emp_location
now i want to select one column from each table, but when im executing join query so far getting this this error:
The type of one of the expressions in the join clause is incorrect. Type inference failed in the call to 'GroupJoin'.
the query which im executing is:
from e in Emp_info
from p in Emp_projects
join l in Emp_locations
on new { e.User_id , p.Project_id } equals new { l.User_id, l.Project_id } into detail
from l in detail
select new
{
e.Middlename,
p.Project_name,
l.Location
};
query.Dump("Join query");
Don't know which of the clauses is causing the error!