public override int GetHashCode() { int hashCode = IdVer.GetHashCode() + IdSubVer.GetHashCode() + Timestamp.GetHashCode() + (IdCustomer == null ? 0 : IdCustomer.GetHashCode()) + (CustomerName == null ? 0 : CustomerName.GetHashCode()) + Active.GetHashCode() + (VATNum == null ? 0 : VATNum.GetHashCode()) + (ShippingAddress == null ? 0 : ShippingAddress.GetHashCode()) + (ShippingAddressZh == null ? 0 : ShippingAddressZh.GetHashCode()) + (BillingAddress == null ? 0 : BillingAddress.GetHashCode()) + (BillingAddressZh == null ? 0 : BillingAddressZh.GetHashCode()) + (ContactName == null ? 0 : ContactName.GetHashCode()) + (ContactNameZh == null ? 0 : ContactNameZh.GetHashCode()) + (ContactPhone == null ? 0 : ContactPhone.GetHashCode()) + (Comments == null ? 0 : Comments.GetHashCode()) + (IdIncoterm == null ? 0 : IdIncoterm.GetHashCode()) + (IdPaymentTerms == null ? 0 : IdPaymentTerms.GetHashCode()) + (IdDefaultCurrency == null ? 0 : IdDefaultCurrency.GetHashCode()) + (User == null ? 0 : User.GetHashCode()); return(hashCode); }
public override int GetHashCode() { return(IdPaymentTerms == null ? 0 : IdPaymentTerms.GetHashCode()); }