1.新建两个实体,一个班级有多个学生 public class Student { public int StudentId { get; set; } public string StudentName { get; set; } public Grade Grade { get; set; } } public class Grade { public int GradeId { get; set; } public string GradeName { get; set; } public…