私はこのシナリオを持っていますが、関連するSOの質問を調べても解決策が見つかりませんでした:
(from TD as tx
join P as px on tx.field1= px.ID
join Q as rp on tx.field2 = rp.ID
join L as lc on tx.field3= lc.ID
group by tx.field1,
tx.field2,
L.randomfield4,
....a bunch of fields from P,Q,L
)as groupItem
left outer join M on groupItem.field1=M.ID
select new { */ Elements from groupItem and M /*}
私のLinqは次のようになります:
from tx in TD
join itemP in P on tx.field1 equals P.ID
join itemQ in Q on tx.field2 equals P.ID
join itemL in L on tx.field3 equals P.ID
group new { tx.field1 ,tx.field2 ,L.randomfield4 } by new { **fields from tx,p,q,etc} into groupItem
join dM in M on ????
groupItemsから要素を選択しようとすると、プロパティにアクセスできません(何も選択しなかったため)。
誰かがこの問題の出発点を手伝ってくれますか?
また、質問のより良い名前で私を助けてください:)