I have a table with a structure like this:
Column1 AS INT,
Column2 AS INT,
Column3 AS INT,
Column4 AS DECIMAL
My LINQ query is this:
var query = from t in context.Table select t;
I want to convert/transform the query to this Dictionary object:
Dictionary<int, Dictionary<int, Dictionary<int, decimal>>>
using only the ToDictionary method of the LINQ query. Can it be done?