【文件属性】:
文件名称:LINQ多条件右外连接
文件大小:13KB
文件格式:DOCX
更新时间:2017-05-24 09:38:12
LINQ
LINQ多条件右外连接
2011/06/04 03:11
from unit in _dbContext.BudgetUnit
join hr in _dbContext.HRBudget
on new { UnitID = unit.BudgetUnitID, RoleID = standardHrCostID }
equals new { UnitID = hr.BudgetUnitID, RoleID = hr.JobTitle }
into hrchild
from n in hrchild.DefaultIfEmpty()