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

            if (entityId_ != null)
            {
                hash ^= EntityId.GetHashCode();
            }
            if (AccountNumber.Length != 0)
            {
                hash ^= AccountNumber.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (AccountCategory != 0)
            {
                hash ^= AccountCategory.GetHashCode();
            }
            if (QuickbooksIdentifier.Length != 0)
            {
                hash ^= QuickbooksIdentifier.GetHashCode();
            }
            if (QuickbooksIncidentalIdentifier.Length != 0)
            {
                hash ^= QuickbooksIncidentalIdentifier.GetHashCode();
            }
            return(hash);
        }