Exemple #1
0
        /// <summary>
        ///     Returns a hash code for this object.
        /// </summary>
        /// <returns> The hash code. </returns>
        public override int GetHashCode()
        {
            var hashCode = StoreTypeName?.GetHashCode() ?? 0;

            hashCode = (hashCode * 397) ^ (IsFixedLength?.GetHashCode() ?? 0);
            return(hashCode);
        }
        /// <summary>
        ///     Returns a hash code for this object.
        /// </summary>
        /// <returns> The hash code. </returns>
        public override int GetHashCode()
        {
            var hashCode = (StoreTypeName != null ? StoreTypeName.GetHashCode() : 0);

            hashCode = (hashCode * 397) ^ (IsFixedLength?.GetHashCode() ?? 0);
            return(hashCode);
        }
        /// <summary>
        ///     Returns a hash code for this object.
        /// </summary>
        /// <returns> The hash code. </returns>
        public override int GetHashCode()
        {
            var hashCode = _coreTypeMappingInfo.GetHashCode();

            hashCode = (hashCode * 397) ^ (StoreTypeName?.GetHashCode() ?? 0);
            hashCode = (hashCode * 397) ^ (IsFixedLength?.GetHashCode() ?? 0);
            return(hashCode);
        }