有人可以帮我完成这个 linq 左外连接查询,以便右表的第二列 (tempData) 包含在结果集中,即使它可能为空?
sortedData = From cs In mbCustomSort
Order By cs(0)
Group Join entry In tempData On cs(joinColumn) Equals entry(0) Into Group
From last In Group.DefaultIfEmpty _
Select New With {.groupField = cs(joinColumn)}