4
Answers

how to apply joins in linq query

dipti prasad

dipti prasad

9y
731
1
Hi Friends,

Please help me for below query:

how to apply join ???like i want this type output query
select * from CostCentre1 as c left Outer join Master as m on m.code=c.code

my query :
return Json(context.CostCentre1.Where(x => x.Name.Contains(term)).Select(s =>  s.Name).ToArray(), JsonRequestBehavior.AllowGet);





Answers (4)