public int ComputeHashCode() { unchecked { int result = 13; result = 37 * result + firstRow.GetHashCode(); result = 37 * result + maxRows.GetHashCode(); result = 37 * result + (namedParameters == null ? 0: CollectionHelper.GetHashCode(namedParameters)); for (int i = 0; i < types.Length; i++) { result = 37 * result + (types[i] == null ? 0 : types[i].GetHashCode()); } for (int i = 0; i < values.Length; i++) { result = 37 * result + (values[i] == null ? 0 : values[i].GetHashCode()); } if (multiQueriesFirstRows != null) { foreach (int multiQueriesFirstRow in multiQueriesFirstRows) { result = 37 * result + multiQueriesFirstRow; } } if (multiQueriesMaxRows != null) { foreach (int multiQueriesMaxRow in multiQueriesMaxRows) { result = 37 * result + multiQueriesMaxRow; } } if (filters != null) { foreach (object filter in filters) { result = 37 * result + filter.GetHashCode(); } } result = 37 * result + (customTransformer == null ? 0 : customTransformer.GetHashCode()); result = 37 * result + sqlQueryString.GetHashCode(); return(result); } }
public override int GetHashCode() { return(_complexChar.GetHashCode() * 23 ^ _baseTransformer.GetHashCode() * 73); }