0

How can I access any of the values not included in the groupby? Must be simple but I can't get to them.

var nextGroupedWorklist = from r in finalList
                        where r.Eprt_id.HasValue &&
                        !string.IsNullOrEmpty(r.Perceel_id)
                        group r by new { r.Eprt_id, r.Mutatie_id, r.Hermes_dossier_nr };

Only the Key's are accessible for the sake of ease the finalList is just a list of 20 or so 'columns' that I retrieved from a database.

  foreach (var item in nextGroupedWorklist )
            {
              var record = item.Key. 

I can only find the attributes after Key.

0 Answers0