I am getting this error The type of one of the expression in the join clause is incorrect Type. I believe its because the different data types. In the Customer table CustomerId is a bigint but in the CustmerGroupXref CustomerId is just an int. Is there a way to get this working in linq? I dont want to change the database field type.
var query1 = (from c in db.Customers
join cgx in db.CustomerGroupXrefs on c.CustomerId equals cgx.CustomerId)


