Пример #1
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if (isset.db_id)
                {
                    hashcode = (hashcode * 397) + Db_id.GetHashCode();
                }
                if (isset.table_id)
                {
                    hashcode = (hashcode * 397) + Table_id.GetHashCode();
                }
                if (isset.column_ids)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Column_ids);
                }
                if (isset.data)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Data);
                }
                if (isset.num_rows)
                {
                    hashcode = (hashcode * 397) + Num_rows.GetHashCode();
                }
            }
            return(hashcode);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if (isset.table_name)
                {
                    hashcode = (hashcode * 397) + Table_name.GetHashCode();
                }
                if (isset.num_cols)
                {
                    hashcode = (hashcode * 397) + Num_cols.GetHashCode();
                }
                if (isset.is_view)
                {
                    hashcode = (hashcode * 397) + Is_view.GetHashCode();
                }
                if (isset.is_replicated)
                {
                    hashcode = (hashcode * 397) + Is_replicated.GetHashCode();
                }
                if (isset.shard_count)
                {
                    hashcode = (hashcode * 397) + Shard_count.GetHashCode();
                }
                if (isset.max_rows)
                {
                    hashcode = (hashcode * 397) + Max_rows.GetHashCode();
                }
                if (isset.table_id)
                {
                    hashcode = (hashcode * 397) + Table_id.GetHashCode();
                }
                if (isset.max_table_id)
                {
                    hashcode = (hashcode * 397) + Max_table_id.GetHashCode();
                }
                if (isset.col_types)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Col_types);
                }
                if (isset.col_names)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Col_names);
                }
            }
            return(hashcode);
        }
Пример #3
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if (isset.type)
                {
                    hashcode = (hashcode * 397) + Type.GetHashCode();
                }
                if (isset.col_id)
                {
                    hashcode = (hashcode * 397) + Col_id.GetHashCode();
                }
                if (isset.table_id)
                {
                    hashcode = (hashcode * 397) + Table_id.GetHashCode();
                }
                if (isset.has_nulls)
                {
                    hashcode = (hashcode * 397) + Has_nulls.GetHashCode();
                }
                if (isset.int_min)
                {
                    hashcode = (hashcode * 397) + Int_min.GetHashCode();
                }
                if (isset.int_max)
                {
                    hashcode = (hashcode * 397) + Int_max.GetHashCode();
                }
                if (isset.bucket)
                {
                    hashcode = (hashcode * 397) + Bucket.GetHashCode();
                }
                if (isset.fp_min)
                {
                    hashcode = (hashcode * 397) + Fp_min.GetHashCode();
                }
                if (isset.fp_max)
                {
                    hashcode = (hashcode * 397) + Fp_max.GetHashCode();
                }
            }
            return(hashcode);
        }
Пример #4
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if (isset.table_id)
                {
                    hashcode = (hashcode * 397) + Table_id.GetHashCode();
                }
                if (isset.tuple_count)
                {
                    hashcode = (hashcode * 397) + Tuple_count.GetHashCode();
                }
                if (isset.start_rowid)
                {
                    hashcode = (hashcode * 397) + Start_rowid.GetHashCode();
                }
            }
            return(hashcode);
        }