Subquery in Where Clause of LINQ statement
问题 So I tried to follow this example to have a sub-query in the where clause of this LINQ query. var innerquery = from app in context.applications select new { app.app_id }; IEnumerable<postDatedCheque> _entityList = context.postDatedCheques .Where(e => innerquery.Contains(e.appSancAdvice.application.app_id)); The objective was to select those records from postDatedCheques that have app_id in applications table. But I am getting following erros inside the where clause: Delegate 'System.Func'