示例#1
0
 public void ConvertTo(ActivityView activityView, Activity activity)
 {
     activity.Name     = activityView.Name;
     activity.Code     = activityView.Code;
     activity.Deleted  = activityView.Deleted;
     activity.HighRisk = activityView.HighRisk;
     activity.LowRisk  = activityView.LowRisk;
 }
示例#2
0
 public void ConvertFrom(Activity activity, ActivityView activityView)
 {
     activityView.ActivityPK = activity.ActivityPK;
     activityView.Name       = activity.Name;
     activityView.Code       = activity.Code;
     activityView.Deleted    = activity.Deleted;
     activityView.HighRisk   = activity.HighRisk;
     activityView.LowRisk    = activity.LowRisk;
 }