public override bool ShouldDeleteFromDb() { return((ExistingItem != null && RequiredItem == null) || (ExistingItem != null && !ExistingItem.Equals(RequiredItem))); }
public override bool ShouldAlterInDb() { return(ExistingItem != null && RequiredItem != null && !ExistingItem.Equals(RequiredItem)); }