private void LoadFromModel(ExamCandidate model) { StudentId = model.StudentId; Uci = model.Uci; CandidateNumber = model.CandidateNumber; PreviousCandidateNumber = model.PreviousCandidateNumber; PreviousCentreNumber = model.PreviousCentreNumber; SpecialConsideration = model.SpecialConsideration; Note = model.Note; if (model.Student != null) { Student = new StudentModel(model.Student); } }
public ExamCandidateModel(ExamCandidate model) : base(model) { LoadFromModel(model); }