public override int GetHashCode() { unchecked { var hashCode = NumberTtn.GetHashCode(); hashCode = (hashCode * 397) ^ Date.GetHashCode(); hashCode = (hashCode * 397) ^ (Company != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(Company) : 0); hashCode = (hashCode * 397) ^ (Name != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(Name) : 0); hashCode = (hashCode * 397) ^ Count.GetHashCode(); hashCode = (hashCode * 397) ^ Cost.GetHashCode(); hashCode = (hashCode * 397) ^ CostUsd.GetHashCode(); hashCode = (hashCode * 397) ^ YearSumma.GetHashCode(); hashCode = (hashCode * 397) ^ YearSummaUsd.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = (TerritoryName != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(TerritoryName) : 0); hashCode = (hashCode * 397) ^ Ceh.GetHashCode(); hashCode = (hashCode * 397) ^ NumberTtn.GetHashCode(); hashCode = (hashCode * 397) ^ NumberAkt.GetHashCode(); hashCode = (hashCode * 397) ^ ShipmentDate.GetHashCode(); hashCode = (hashCode * 397) ^ (ProductName != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(ProductName) : 0); hashCode = (hashCode * 397) ^ (CompanyName != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(CompanyName) : 0); hashCode = (hashCode * 397) ^ ProductCount.GetHashCode(); hashCode = (hashCode * 397) ^ CostWithoutNds.GetHashCode(); hashCode = (hashCode * 397) ^ SummaWithoutNds.GetHashCode(); hashCode = (hashCode * 397) ^ SummaNds.GetHashCode(); hashCode = (hashCode * 397) ^ SummaWithNds.GetHashCode(); hashCode = (hashCode * 397) ^ SummaWithoutNdsAndTaxes.GetHashCode(); hashCode = (hashCode * 397) ^ SummaUsd.GetHashCode(); hashCode = (hashCode * 397) ^ UsdRate.GetHashCode(); hashCode = (hashCode * 397) ^ RusRate.GetHashCode(); return(hashCode); } }