I am trying to use LINQ to create a Dictionary> from a List. I can get this to work using \"
Dictionary>
List
The following worked for me.
var temp = ctx.Set() .GroupBy(g => new { g.id }) .ToDictionary(d => d.Key.id);