/// <summary> /// 取得學生的簡短描述 /// </summary> /// <param name="student">學生</param> /// <returns>簡述</returns> public static string GetDescription(this StudentRecord student) { return((student.Class == null ? "未分班級" : (student.Class.Name + (student.SeatNo == "" ? "" : "(" + student.SeatNo + "號)"))) + " " + student.Name); }
internal CompareStudentRecordEventArgs(StudentRecord v1, StudentRecord v2) { Value1 = v1; Value2 = v2; }
/// <summary> /// 取得學生學期歷程資料。 /// </summary> /// <param name="studentRec"></param> /// <returns></returns> public static List <SemesterHistoryRecord> GetSemesterHistories(this StudentRecord studentRec) { return(SemesterHistory.Instance[studentRec.ID]); }
/// <summary> /// 取得學生類別資料。 /// </summary> public static List <StudentTagRecord> GetTags(this StudentRecord student) { return(StudentTag.Instance[student.ID]); }