摘要: 多表连接查询 先新建一个班级类,初始化数据 public class StudentClass { public int ClassId { get; set; } public string ClassName { get; set; } } List<StudentClass> studentC 阅读全文
posted @ 2021-03-30 18:42 luytest 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 自定义学生类 public class Student { public int Id { get; set; } public string Name { get; set; } public int ClassId { get; set; } public int Age { get; set; 阅读全文
posted @ 2021-03-30 16:02 luytest 阅读(157) 评论(0) 推荐(0) 编辑