コード例 #1
0
        private void LoadFromModel(ExamAwardSeries model)
        {
            AwardId  = model.AwardId;
            SeriesId = model.SeriesId;

            if (model.Award != null)
            {
                Award = new ExamAwardModel(model.Award);
            }

            if (model.Series != null)
            {
                Series = new ExamSeriesModel(model.Series);
            }
        }
コード例 #2
0
 public ExamAwardSeriesModel(ExamAwardSeries model) : base(model)
 {
     LoadFromModel(model);
 }