Example #1
0
 public virtual void Copy(ViewObject obj)
 {
     Id = obj.Id;
     Name = obj.Name;
     IsDeleted = obj.IsDeleted;
     UserId = obj.UserId;
 }
Example #2
0
 public override void Copy(ViewObject obj)
 {
     base.Copy(obj);
     var task = obj as Task;
     if (task != null)
     {
         Category = task.Category;
     }
 }
Example #3
0
        public override void Copy(ViewObject obj)
        {
            base.Copy(obj);
            var cat = obj as Category;
            if (cat != null)
            {

            }
        }
Example #4
0
 public override void Copy(ViewObject obj)
 {
     base.Copy(obj);
     var task = obj as PlanningTask;
     if (task != null)
     {
         Task = task.Task;
         Duration = task.Duration;
         Frequency = task.Frequency;
     }
 }
Example #5
0
 public override void Copy(ViewObject obj)
 {
     base.Copy(obj);
     var user = obj as User;
     if (user != null)
     {
         Email = user.Email;
         WeekStartDay = user.WeekStartDay;
         WeekStartHour = user.WeekStartHour;
         NotifyWeekStarting = user.NotifyWeekStarting;
         NotifyWeekEnding = user.NotifyWeekEnding;
     }
 }