/// <summary> /// Compares the <see cref="BaseDbSetting"/> object equality against the given target object. /// </summary> /// <param name="other">The object to be compared to the current object.</param> /// <returns>True if the instances are equal.</returns> public bool Equals(BaseDbSetting other) { if (other is null) { return(false); } return(other.GetHashCode() == GetHashCode()); }
/// <summary> /// Compares the <see cref="BaseDbSetting"/> object equality against the given target object. /// </summary> /// <param name="other">The object to be compared to the current object.</param> /// <returns>True if the instances are equal.</returns> public bool Equals(BaseDbSetting other) { return(other?.GetHashCode() == GetHashCode()); }
/// <summary> /// Compares the <see cref="BaseDbSetting"/> object equality against the given target object. /// </summary> /// <param name="other">The object to be compared to the current object.</param> /// <returns>True if the instances are equal.</returns> public bool Equals(BaseDbSetting other) => other?.GetHashCode() == GetHashCode();