Hello,
I have a Master Detail relationship.
Master 1:n Detail
1:n Detail (List)
Via LinQ I would like to group it.
That works too. But I can't reach the ResultView. See the green marker.
What should the query be called?
Thanks in advance for tipps and samples.
The code
var qryPanelIndex = CurrentPanel.MainList[0].ListDetailBoards.GroupBy(info => info.PanelIndex)
.Select(group => new
{
PanelIndex = group.Key,
CountOccurrences = group.Count()
})
.OrderBy(x => x.PanelIndex).ToList();
var qryPanelIndex2 = CurrentPanel.MainList[0].ListDetailBoards.GroupBy(info => info.PanelIndex).ToList();
foreach(var item in qryPanelIndex2)
{