示例#1
0
 public Pupil[] GetPupilsByRegistrationTypeWithSchool(Registrationtype registrationtype) =>
 _dbContext.Pupils
 .Include(p => p.School)
 .ThenInclude(s => s.City)
 .Where(p => p.Registrationtype == registrationtype)
 .ToArray();
示例#2
0
 public Pupil[] GetPupilsByRegistrationTypeWithSchool(Registrationtype registrationtype) =>
 GetAll()
 .Where(p => p.Registrationtype == registrationtype)
 .ToArray();
示例#3
0
 public Pupil[] GetPupilsByRegistrationTypeWithSchool(Registrationtype registrationtype)
 {
     throw new NotImplementedException();
 }