exclua redults depois de depois,
var test = await context.Tests
.Where(t => t.SchoolyearId == schoolyearId)
.IncludeMany(t => t.TestType,
x => x.Subject,
x => x.Schoolclass
)
.AsNoTracking()
.ToListAsync();
Hafiz Usama