Ejemplo n.º 1
0
    public override int GetHashCode()
    {
        int hash = 23;

        hash = hash * 31 + ColumnName == null ? 0 : ColumnName.GetHashCode();
        hash = hash * 31 + ColumnValue == null ? 0 : ColumnValue.GetHashCode();
        hash = hash * 31 + RowNumber;
        return(hash);
    }
Ejemplo n.º 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Conjunction?.GetHashCode() ?? 0;
         hashCode = (hashCode * 397) ^ (ColumnName?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (ColumnValue?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (Operator?.GetHashCode() ?? 0);
         return(hashCode);
     }
 }