public SqlOutputParameterResult <TValue> DeepCloneWithValue(TValue value) { var result = new SqlOutputParameterResult <TValue>( this.OutputParameter?.DeepClone(), value); return(result); }
/// <inheritdoc /> public bool Equals(SqlOutputParameterResult <TValue> other) { if (ReferenceEquals(this, other)) { return(true); } if (ReferenceEquals(other, null)) { return(false); } var result = this.OutputParameter.IsEqualTo(other.OutputParameter) && this.Value.IsEqualTo(other.Value); return(result); }