I have the following c# code.
IQueryable<Invoice> query = service.GetInvoices();
query = query.Where(inv => inv.ProjectID == projectid);
query = query.Skip(pageIndex * pageSize).Take(pageSize);
I want to add a Join to a “Status” table using the Join extension method.
Can’t find many examples of the syntax for this.
Can you help out?
Join details to help you write the code.
Join fields are Status.ID to Invoice.invStatus
Malcolm
Using join:
If I understood your db structure correctly I would go for: