Cannot implicitly convert type 'System.Collections.Generic.List<AnonymousType#1>' to 'System.Linq.IQueryable<AnonymousType#2>'
- 阅读更多 关于 Cannot implicitly convert type 'System.Collections.Generic.List' to 'System.Linq.IQueryable'
问题 This query is being compiled without errors: var _entityList = context.customer .Join(context.applications, cust => cust.cust_id, app => app.cust_id, (cust, app) => new { customer = cust, application = app }) .Join(context.advices, cust => cust.application.app_id, sa => sa.app_id, (cust, sa) => new { customer = cust, advice = sa }) .GroupBy(g => new { g.customer.customer.cust_id, g.customer.customer.cust_code, g.customer.customer.cust_name }) .Select(g => new { cust_id = g.Key.cust_id, cust