Ich habe folgenden Code auf EF7 Beta läuft 8:EF7 und GroupBy() kann nicht
var locationGrops = from l in db.Locations
group l by l.ServiceType into g
select g;
var list = locationGrops.ToList();
Wenn ich diesen Code ausführen, zeigt EF eine Warnung aus.
warning : [Microsoft.Data.Entity.Query.QueryCompilationContext] The LINQ express
ion 'GroupBy([l].ServiceType, [l])' could not be translated and will be evaluate
d locally.
Die Abfrage scheint mir ziemlich einfach und es gibt GROUP BY in SQL. Gibt es eine Möglichkeit, es auf einem Server laufen zu lassen?
das gleiche ist in 7.0.0-rc1-final; / –