8
linq拡張メソッドを使用してどのように左外部結合を実行しますか
そのような左外部結合があると仮定します: from f in Foo join b in Bar on f.Foo_Id equals b.Foo_Id into g from result in g.DefaultIfEmpty() select new { Foo = f, Bar = result } 拡張メソッドを使用して同じタスクをどのように表現しますか?例えば Foo.GroupJoin(Bar, f => f.Foo_Id, b => b.Foo_Id, (f,b) => ???) .Select(???)
272
c#
linq-to-sql
lambda