exclude redults after theninclude

The solution for “exclude redults after theninclude” can be found here. The following code will assist you in solving the problem.

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

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

0
inline scripts encapsulated in