/// <summary>
 /// Initializes a new instance of the <see cref="ProductVM"/> class from the model.
 /// </summary>
 /// <param name="entity">The model.</param>
 /// <param name="access"></param>
 /// <param name="dataService"></param>
 /// <param name="presentationType"></param>
 public ActivityOperatorVM(ActivitySkill entity, AccessType access, ActivitySkillDataService dataService, RelationDirection presentationType)
     : base(access, presentationType)
 {
     InitializeData(dataService);
     _model = entity;
     ActivityId = entity.Activity.Id;
     OperatorId = entity.Operator.Id;
     ActivityName = entity.Activity.Name;
     ActivityCode = entity.Activity.Code;
     OperatorName = entity.Operator.Name;
     OperatorCode = entity.Operator.Code;
     //SkillPoint = (ILUO)entity.IluoNr;
 }
     private void FixupActivitySkill(ActivitySkill previousValue)
     {
         if (previousValue != null && previousValue.ProductActivitySkills.Contains(this))
         {
             previousValue.ProductActivitySkills.Remove(this);
         }
 
         if (ActivitySkill != null)
         {
             if (!ActivitySkill.ProductActivitySkills.Contains(this))
             {
                 ActivitySkill.ProductActivitySkills.Add(this);
             }
         }
     }