protected override void OnPropertyChanged(string propertyName)
        {
            if (State == DataModelState.Unchanged)
            {
                State = DataModelState.Modified;
            }

            base.OnPropertyChanged(propertyName);
        }
 public virtual void markedAsToRemove()
 {
     State = DataModelState.Deleted;
 }
 protected DataViewModelBase()
 {
     State = DataModelState.New;
 }