0
var invoice = (from i in Catalog.Invoices
where (i.Id == invoiceId)
select i)
.Include(i => i.Appointment.Service)
.Include(i => i.Appointment.Allocations.Select(a => a.Service))
.Include(i => i.Appointment.Allocations.Select(e => e.Employee))
.FirstOrDefault();
var inv = invoice.Appointment.Allocations.Select(e => e.Employee);
我的問題:如何將空值從上面的查詢過濾器?
由於它的工作。 :) – Sampath