Exemple #1
0
        public override int GetHashCode()
        {
            var result = (Columns != null ? Columns.GetHashCode() : 0);

            result = 29 * result + Clustered.GetHashCode();
            result = 29 * result + NullAllowances.GetHashCode();
            result = 29 * result + PrimaryKey.GetHashCode();
            result = 29 * result + Unique.GetHashCode();
            return(result);
        }
Exemple #2
0
        public override int GetHashCode()
        {
            var result = (Columns != null ? Columns.GetHashCode() : 0);

            result = 29 * result + KeyType.GetHashCode();
            result = 29 * result + (RelTable != null ? RelTable.GetHashCode() : 0);
            result = 29 * result + (RelColumns != null ? RelColumns.GetHashCode() : 0);
            result = 29 * result + Clustered.GetHashCode();
            result = 29 * result + (Source != null ? Source.GetHashCode() : 0);
            return(result);
        }