Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            unchecked
            {
                int hashCode = DataTypeId != null?DataTypeId.GetHashCode() : 0;

                hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (DefaultEncoding != null ? DefaultEncoding.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (BaseDataType != null ? BaseDataType.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ StructureType;
                hashCode = (hashCode * 397) ^ (Fields != null ? Fields.GetHashCode() : 0);
                return(hashCode);
            }
        }