我在EF7 Beta 8上运行以下代码:
var locationGrops = from l in db.Locations group l by l.ServiceType into g select g; var list = locationGrops.ToList();
warning : [Microsoft.Data.Entity.Query.QueryCompilationContext] The LINQ express ion 'GroupBy([l].ServiceType,[l])' Could not be translated and will be evaluate d locally.