I have code running on EF7 Beta 8:
var locationGrops = from l in db.Locations group l by l.ServiceType into g select g; var list = locationGrops.ToList();
When I execute this code, EF displays a warning.
warning : [Microsoft.Data.Entity.Query.QueryCompilationContext] The LINQ express ion 'GroupBy([l].ServiceType, [l])' could not be translated and will be evaluate d locally.
The query seems very simple to me, and in SQL there is a GROUP BY group. Is there any way to make it work on the server?
source share