示例#1
0
        public override int GetHashCode()
        {
            var hashCode = Operation.GetHashCode();

            hashCode = unchecked (hashCode + (hashCode * 397) ^ SystemType.GetHashCode());
            hashCode = unchecked (hashCode + (hashCode * 397) ^ Expr1.GetHashCode());
            hashCode = unchecked (hashCode + (hashCode * 397) ^ Expr2.GetHashCode());

            return(hashCode);
        }
示例#2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (SystemType != null ? SystemType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (int)DataType;
         hashCode = (hashCode * 397) ^ (DbType != null ? DbType.GetHashCode() : 0);
         return(hashCode);
     }
 }
示例#3
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = ColumnName?.GetHashCode() ?? 0;
         hashCode = (hashCode * 397) ^ (MemberName?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (SystemType != null ? SystemType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ IsNullable.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)HandyType;
         return(hashCode);
     }
 }
示例#4
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (SystemType != null ? SystemType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (int)DataType;
         hashCode = (hashCode * 397) ^ (DbType != null ? DbType.GetHashCode()          : 0);
         hashCode = (hashCode * 397) ^ (Length != null ? Length.Value.GetHashCode()    : 0);
         hashCode = (hashCode * 397) ^ (Precision != null ? Precision.Value.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Scale != null ? Scale.Value.GetHashCode()     : 0);
         return(hashCode);
     }
 }