public override int GetHashCode() { unchecked { return(((_tableName != null ? _tableName.GetHashCode() : 0) * 397) ^ _keyColumnNames.Aggregate(0, (t, n) => t + n.GetHashCode())); } }
public override int GetHashCode() { unchecked { return(((DatabaseName != null ? DatabaseName.GetHashCode() : 0) * 397) ^ (ServerName != null ? ServerName.GetHashCode() : 0)); } }
public override int GetHashCode() { unchecked { var hashCode = (_tableName != null ? _tableName.GetHashCode() : 0) * 397; hashCode = _keyColumnNames.Aggregate(hashCode, (h, v) => (h * 397) ^ v.GetHashCode()); return(_annotations.OrderBy(a => a.Key).Aggregate(hashCode, (h, v) => (h * 397) ^ v.GetHashCode())); } }
/// <inheritdoc /> public override int GetHashCode() { unchecked { var hashCode = DatabaseName != null?DatabaseName.GetHashCode() : 0; hashCode = (hashCode * 397) ^ (TableName != null ? TableName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Code != null ? Code.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (FileName != null ? FileName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ClassName != null ? ClassName.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (DatabaseName.Length != 0) { hash ^= DatabaseName.GetHashCode(); } hash ^= roles_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
/// <summary> /// Object hash code /// </summary> /// <returns></returns> public override int GetHashCode() { unchecked { var hashCode = Name != null?Name.GetHashCode() : 0; hashCode = (hashCode * 397) ^ (Version != null ? Version.GetHashCode() : 0); hashCode = (hashCode * 397) ^ NumDatabaseSequences.GetHashCode(); hashCode = (hashCode * 397) ^ NumResidues.GetHashCode(); hashCode = (hashCode * 397) ^ (ExternalFormatDocumentation != null ? ExternalFormatDocumentation.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Location != null ? Location.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (DatabaseName != null ? DatabaseName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (FileFormat != null ? FileFormat.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (CVParams != null ? CVParams.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (DatabaseName.Length != 0) { hash ^= DatabaseName.GetHashCode(); } if (CSVName.Length != 0) { hash ^= CSVName.GetHashCode(); } if (Payload.Length != 0) { hash ^= Payload.GetHashCode(); } hash ^= columnTypes_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() => DatabaseName.GetHashCode();