How to convert LINQ code to lamda

  • Thread starter Thread starter zleug
  • Start date Start date
Z

zleug

Guest
Hi All.

How to convert LINQ query

var query =
from table1 in context.EntiytTab1
join table2 in context.EntityTab2
on table1.ID equals table2.EmpId
select newEmployeDept
{
Name = table2.Name,
Email = table2.Email,
CreatedOn = table1.CreatedOn,
CreatedBy = table1.CreatedBy,
UpdatedOn = table1.UpdatedOn,
UpdatedBy = table1.UpdatedBy,
};


to lamda?

Thanks.

Continue reading...
 
Back
Top