예제 #1
0
 public ClassWithSubjectsModel(CLASS _classes) : base(_classes)
 {
     subjects = _classes.SUBJECT.ToList().Select(i => new SubjectModel(i)).ToList();
 }
예제 #2
0
 public ClassModel(CLASS _classes)
 {
     class_id   = _classes.class_id;
     class_name = _classes.class_name;
 }