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

            if (postedTime_ != null)
            {
                hash ^= PostedTime.GetHashCode();
            }
            if (Narration.Length != 0)
            {
                hash ^= Narration.GetHashCode();
            }
            hash ^= lines_.GetHashCode();
            if (assignedGuest_ != null)
            {
                hash ^= AssignedGuest.GetHashCode();
            }
            if (EnteredByUserId.Length != 0)
            {
                hash ^= EnteredByUserId.GetHashCode();
            }
            if (IsManualEntry != false)
            {
                hash ^= IsManualEntry.GetHashCode();
            }
            if (id_ != null)
            {
                hash ^= Id.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (amount_ != null)
            {
                hash ^= Amount.GetHashCode();
            }
            if (Narration.Length != 0)
            {
                hash ^= Narration.GetHashCode();
            }
            if (ChargeCreditType != 0)
            {
                hash ^= ChargeCreditType.GetHashCode();
            }
            if (effectiveForOpsdate_ != null)
            {
                hash ^= EffectiveForOpsdate.GetHashCode();
            }
            if (effectiveAtClock_ != null)
            {
                hash ^= EffectiveAtClock.GetHashCode();
            }
            if (incidentalItem_ != null)
            {
                hash ^= IncidentalItem.GetHashCode();
            }
            if (incurredBy_ != null)
            {
                hash ^= IncurredBy.GetHashCode();
            }
            if (IssuanceSchedule != 0)
            {
                hash ^= IssuanceSchedule.GetHashCode();
            }
            if (enteredBy_ != null)
            {
                hash ^= EnteredBy.GetHashCode();
            }
            if (id_ != null)
            {
                hash ^= Id.GetHashCode();
            }
            if (taxes_ != null)
            {
                hash ^= Taxes.GetHashCode();
            }
            if (fees_ != null)
            {
                hash ^= Fees.GetHashCode();
            }
            hash ^= currentTaxAssessments_.GetHashCode();
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (debitAmount_ != null)
            {
                hash ^= DebitAmount.GetHashCode();
            }
            if (creditAmount_ != null)
            {
                hash ^= CreditAmount.GetHashCode();
            }
            if (Narration.Length != 0)
            {
                hash ^= Narration.GetHashCode();
            }
            if (account_ != null)
            {
                hash ^= Account.GetHashCode();
            }
            if (AccountName.Length != 0)
            {
                hash ^= AccountName.GetHashCode();
            }
            if (AccountType != 0)
            {
                hash ^= AccountType.GetHashCode();
            }
            if (Designation != 0)
            {
                hash ^= Designation.GetHashCode();
            }
            if (TransferIndication != 0)
            {
                hash ^= TransferIndication.GetHashCode();
            }
            if (entityId_ != null)
            {
                hash ^= EntityId.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (postedTime_ != null)
            {
                hash ^= PostedTime.GetHashCode();
            }
            if (Narration.Length != 0)
            {
                hash ^= Narration.GetHashCode();
            }
            hash ^= lines_.GetHashCode();
            if (id_ != null)
            {
                hash ^= Id.GetHashCode();
            }
            if (enteredBy_ != null)
            {
                hash ^= EnteredBy.GetHashCode();
            }
            return(hash);
        }