how to apply joins in linq query
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);