public override int GetHashCode() { unchecked { var hashCode = (Host != null ? Host.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Port; hashCode = (hashCode * 397) ^ Ssl.GetHashCode(); hashCode = (hashCode * 397) ^ SslProtocols.GetHashCode(); hashCode = (hashCode * 397) ^ ConnectTimeout; hashCode = (hashCode * 397) ^ SendTimeout; hashCode = (hashCode * 397) ^ ReceiveTimeout; hashCode = (hashCode * 397) ^ RetryTimeout; hashCode = (hashCode * 397) ^ IdleTimeOutSecs; hashCode = (hashCode * 397) ^ Db.GetHashCode(); hashCode = (hashCode * 397) ^ (Client != null ? Client.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Password != null ? Password.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (NamespacePrefix != null ? NamespacePrefix.GetHashCode() : 0); return(hashCode); } }