Example #1
0
        /// <summary>
        /// Gets the hash code.
        /// </summary>
        /// <returns></returns>
        public override int GetHashCode()
        {
            unchecked
            {
                int hash = 17;

                hash = hash * 23 + Id.GetHashCode();
                hash = hash * 23 + NullSafeUtilities.GetSafeHashCode(AccountHistoryEventType);
                hash = hash * 23 + NullSafeUtilities.GetSafeHashCode(EventTime);

                return(hash);
            }
        }
Example #2
0
        /// <summary>
        /// hashey codey
        /// </summary>
        /// <returns></returns>
        public override int GetHashCode()
        {
            unchecked
            {
                int hash = 17;

                hash = hash * 23 + NullSafeUtilities.GetSafeHashCode(Id);
                hash = hash * 23 + NullSafeUtilities.GetSafeHashCode(Address);
                hash = hash * 23 + NullSafeUtilities.GetSafeHashCode(IsContactable);
                hash = hash * 23 + NullSafeUtilities.GetSafeHashCode(IsPreferred);

                return(hash);
            }
        }
Example #3
0
        /// <summary>
        /// hashey codey
        /// </summary>
        /// <returns></returns>
        public override int GetHashCode()
        {
            unchecked
            {
                int hash = 17;

                hash = hash * 23 + NullSafeUtilities.GetSafeHashCode(Id);
                hash = hash * 23 + NullSafeUtilities.GetSafeHashCode(Editee.Id);
                hash = hash * 23 + NullSafeUtilities.GetSafeHashCode(Editor.Id);
                hash = hash * 23 + NullSafeUtilities.GetSafeHashCode(PropertyName);
                hash = hash * 23 + NullSafeUtilities.GetSafeHashCode(OldValue);
                hash = hash * 23 + NullSafeUtilities.GetSafeHashCode(NewValue);
                hash = hash * 23 + NullSafeUtilities.GetSafeHashCode(Time);

                return(hash);
            }
        }
        /// <summary>
        /// hashey codey
        /// </summary>
        /// <returns></returns>
        public override int GetHashCode()
        {
            unchecked
            {
                int hash = 17;

                hash = hash * 23 + NullSafeUtilities.GetSafeHashCode(Id);
                hash = hash * 23 + NullSafeUtilities.GetSafeHashCode(Address);
                hash = hash * 23 + NullSafeUtilities.GetSafeHashCode(City);
                hash = hash * 23 + NullSafeUtilities.GetSafeHashCode(State);
                hash = hash * 23 + NullSafeUtilities.GetSafeHashCode(ZipCode);
                hash = hash * 23 + NullSafeUtilities.GetSafeHashCode(Country);
                hash = hash * 23 + NullSafeUtilities.GetSafeHashCode(IsHomeAddress);
                hash = hash * 23 + NullSafeUtilities.GetSafeHashCode(Latitude);
                hash = hash * 23 + NullSafeUtilities.GetSafeHashCode(Longitude);

                return(hash);
            }
        }