public override int GetHashCode() { unchecked { var hashCode = (GuestName != null ? GuestName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (GuestPhone != null ? GuestPhone.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (GuestMailingAddress != null ? GuestMailingAddress.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (DateAttending != null ? DateAttending.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (CardNumber != null ? CardNumber.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (CardExpirationDate != null ? CardExpirationDate.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (CardVerificationValue != null ? CardVerificationValue.GetHashCode() : 0); return(hashCode); } }