var details= from row in databaseTable where row.id equals queryId select new { Dict = row.ToDictionary(x => x.Name, x => x.Value), };
When doing this LINQ to SQL, I get an error:
System.NotSupportedException: "ToDictionary" statement request is not supported.
What I need to do is first write the lines to memory, but I'm not sure how to do this. I tried calling ToList in different places, but no luck.
Logan source share