public void Update(SharedListData newValue)
 {
     this.Field    = newValue.Field;
     this.Priority = newValue.Priority;
     this.IsActive = newValue.IsActive;
     if (newValue.SharedList != null)
     {
         this.SharedList = newValue.SharedList;
     }
 }
Example #2
0
 public void Update(SharedList newEntity)
 {
     this.Title = newEntity.Title;
     if (newEntity.Owner != null)
     {
         this.Owner = newEntity.Owner;
     }
     if (newEntity.Comments != null)
     {
         this.Comments = newEntity.Comments;
     }
     if (newEntity.CollectionOfData != null)
     {
         this.CollectionOfData = newEntity.CollectionOfData;
     }
 }