Пример #1
0
        private void LoadFromModel(ReportCardTarget model)
        {
            ReportCardId = model.ReportCardId;
            TargetId     = model.TargetId;

            if (model.ReportCard != null)
            {
                ReportCard = new ReportCardModel(model.ReportCard);
            }

            if (model.Target != null)
            {
                Target = new BehaviourTargetModel(model.Target);
            }
        }
Пример #2
0
 public ReportCardTargetModel(ReportCardTarget model) : base(model)
 {
     LoadFromModel(model);
 }