internal override void UpdateValues(MultiValuedPropertyBase newMvp) { if (newMvp != null && newMvp.GetType() != base.GetType()) { throw new ArgumentException("newMvp", DataStrings.ExceptionCannotSetDifferentType(base.GetType(), newMvp.GetType())); } base.UpdateValues(newMvp); }
public override void CopyChangesFrom(MultiValuedPropertyBase changedMvp) { if (changedMvp != null && changedMvp.GetType() != base.GetType()) { throw new ArgumentOutOfRangeException("changedMvp", DataStrings.ErrorCannotCopyFromDifferentType(base.GetType(), changedMvp.GetType())); } base.CopyChangesFrom(changedMvp); }