Click here to Skip to main content
15,611,482 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i Have 2 List of records
i want to make a join based on multiple condtions like && , ||

Can any one help me with this query as i am new to Linq.

You should take a look at 101 LINQ Samples[^] You will find everything you need there :)
Share this answer
Put your table name and column name in below query:-

from t1 in Projects
from t2 in Tasks.Where(x => t1.ProjectID == x.ProjectID && x.Completed == true)
select new { t1.ProjectName, t2.TaskName }

this is basic query you can modify it.
Share this answer

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