var query = dbContext.table1.join(dbcontext.table2,i=>i.table1.id,j=>j.table2.id, (i,j)=>new { name = i.name, hours = (new decimal?[]{ j.day1,j.day2,j.day3}.Sum()), total = ??????? }).ToArray();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)