Click here to Skip to main content
15,920,896 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
var docQuery = ProfilesContext.My_usr_profiles.Where(i=>i.Usr_profiles_id>=1).Select(i=>new{i.Usr_profiles_id,i.Usr_profiles_usr_id,i.Usr_profile_name}).ToList();

var query = dbContext.usr_mails.join(docQuery,m=>new{id1=m.mail_id,id2=m.mail_usr_id},n=>new{id1=n.Usr_profiles_id,id2=n.Usr_profiles_usr_id},(m,n)=>new{m.mail_id,m.mailer_name,n.profile_usr_name}).ToArray();

when I am joining like this it is showing error at the "join".can u tell me how to join in this case
Posted
Updated 19-Oct-12 19:18pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900