Rötungen nach dem Theninclude ausschließen

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