Mam następujący kod działa na EF7 Beta 8:EF7 i GroupBy() nie może być tłumaczone
var locationGrops = from l in db.Locations
group l by l.ServiceType into g
select g;
var list = locationGrops.ToList();
Kiedy wykonać ten kod, EF wyświetla ostrzeżenie.
warning : [Microsoft.Data.Entity.Query.QueryCompilationContext] The LINQ express
ion 'GroupBy([l].ServiceType, [l])' could not be translated and will be evaluate
d locally.
Zapytanie wydaje mi się dość proste i istnieje GROUP BY w SQL. Czy istnieje sposób, aby uruchomić go na serwerze?
to samo dotyczy wersji 7.0.0-rc1-final; / –