예제 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (OriginalName.Length != 0)
            {
                hash ^= OriginalName.GetHashCode();
            }
            if (Table.Length != 0)
            {
                hash ^= Table.GetHashCode();
            }
            if (OriginalTable.Length != 0)
            {
                hash ^= OriginalTable.GetHashCode();
            }
            if (Schema.Length != 0)
            {
                hash ^= Schema.GetHashCode();
            }
            if (Catalog.Length != 0)
            {
                hash ^= Catalog.GetHashCode();
            }
            if (Collation != 0UL)
            {
                hash ^= Collation.GetHashCode();
            }
            if (FractionalDigits != 0)
            {
                hash ^= FractionalDigits.GetHashCode();
            }
            if (Length != 0)
            {
                hash ^= Length.GetHashCode();
            }
            if (Flags != 0)
            {
                hash ^= Flags.GetHashCode();
            }
            if (ContentType != 0)
            {
                hash ^= ContentType.GetHashCode();
            }
            return(hash);
        }