I wrote this query, but I want to use it with functions.
var hede = (from customer in _customerRepository.Table
join source in _sourcedefinitionepository.Table on customer.SouceCode equals source.SourceCode
join branch in _branchdefinitionepository.Table on customer.BranchCode equals branch.BranchCode
where customer.SirketKod == 1 && source.UretimKanali == "E"
select new { Customer = customer, SourceName = source.LongName, branch.BranchName});
How can I join 3 tables, how can I convert this code?
var query = _customerRepository.Table.Join() ... Select()...
Thank you.