This question is locked. New answers and comments are not allowed.
Hello all.
The following LINQ statement tells me:
"Execution of 'System.Linq.Enumerable:GroupBy(IEnumerable`1,Func`2)' on the database server side currently not implemented. This occured from g1.GroupBy(o => o.SequenceNumber)"
1.var ops = _db.Operations.Where(o => !filteredStates.Contains(o.ProcessingStatus) && o.CalendarEvents.Count == 0 && o.WorkOrder.QuantityToProduce - o.QuantityConfirmed > 0)2. .GroupBy(o => new { o.WorkOrderId }).Select(g1 => new {3. g1.Key,4. Operations = g1.GroupBy(o => o.SequenceNumber).Select(g2 => g2)5. }).ToList();Any ideas how to work around such a situation?
Kind regards
Bernd