I am trying to group join in EF core 3.1 the problem it returns
Processing of the LINQ expression 'DbSet failed. This may indicate either a bug or a limitation in EF Core
my code is like this
var employees = await (from enrollment in RepositoryContext.Enrollments
join allowance in RepositoryContext.Allowances.Include(y=>y.AllowanceType) on enrollment.EmployeeId equals allowance.EmployeeId
into allowances
select new
{
enrollment,
allowances
}
).AsNoTracking().ToListAsync();
the allowances is list of items , is there any workaround to run the query like this cause i need it for better berformance.