Esempio n. 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (groupBookingId_ != null)
            {
                hash ^= GroupBookingId.GetHashCode();
            }
            if (paymentId_ != null)
            {
                hash ^= PaymentId.GetHashCode();
            }
            if (reservationId_ != null)
            {
                hash ^= ReservationId.GetHashCode();
            }
            if (amount_ != null)
            {
                hash ^= Amount.GetHashCode();
            }
            if (State != 0)
            {
                hash ^= State.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (groupBookingId_ != null)
            {
                hash ^= GroupBookingId.GetHashCode();
            }
            if (InvoiceNumber != 0)
            {
                hash ^= InvoiceNumber.GetHashCode();
            }
            if (invoiceId_ != null)
            {
                hash ^= InvoiceId.GetHashCode();
            }
            if (Voided != false)
            {
                hash ^= Voided.GetHashCode();
            }
            if (createdBy_ != null)
            {
                hash ^= CreatedBy.GetHashCode();
            }
            if (voidedBy_ != null)
            {
                hash ^= VoidedBy.GetHashCode();
            }
            if (voidedAt_ != null)
            {
                hash ^= VoidedAt.GetHashCode();
            }
            if (createdAt_ != null)
            {
                hash ^= CreatedAt.GetHashCode();
            }
            return(hash);
        }