public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Ttn.GetHashCode();
         hashCode = (hashCode * 397) ^ ShipmentDate.GetHashCode();
         hashCode = (hashCode * 397) ^ (Name != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(Name) : 0);
         hashCode = (hashCode * 397) ^ Count.GetHashCode();
         hashCode = (hashCode * 397) ^ Cost.GetHashCode();
         return(hashCode);
     }
 }
예제 #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Company != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(Company) : 0);
         hashCode = (hashCode * 397) ^ (Name != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(Name) : 0);
         hashCode = (hashCode * 397) ^ Ttn.GetHashCode();
         hashCode = (hashCode * 397) ^ Cost.GetHashCode();
         hashCode = (hashCode * 397) ^ (NumberContract != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(NumberContract) : 0);
         hashCode = (hashCode * 397) ^ (FormPayment != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(FormPayment) : 0);
         hashCode = (hashCode * 397) ^ ShipmentDate.GetHashCode();
         hashCode = (hashCode * 397) ^ PaymentDate.GetHashCode();
         return(hashCode);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (TypeGroup != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(TypeGroup) : 0);
         hashCode = (hashCode * 397) ^ (Type != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(Type) : 0);
         hashCode = (hashCode * 397) ^ (Category != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(Category) : 0);
         hashCode = (hashCode * 397) ^ (Territory != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(Territory) : 0);
         hashCode = (hashCode * 397) ^ (Name != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(Name) : 0);
         hashCode = (hashCode * 397) ^ Count.GetHashCode();
         hashCode = (hashCode * 397) ^ Cost.GetHashCode();
         hashCode = (hashCode * 397) ^ SummNds.GetHashCode();
         hashCode = (hashCode * 397) ^ (NameCompany != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(NameCompany) : 0);
         hashCode = (hashCode * 397) ^ Ttn.GetHashCode();
         hashCode = (hashCode * 397) ^ ShipmentDate.GetHashCode();
         hashCode = (hashCode * 397) ^ (ContractNumber != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(ContractNumber) : 0);
         hashCode = (hashCode * 397) ^ ContractDate.GetHashCode();
         hashCode = (hashCode * 397) ^ (IntentionBay != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(IntentionBay) : 0);
         hashCode = (hashCode * 397) ^ (PaymentForm != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(PaymentForm) : 0);
         hashCode = (hashCode * 397) ^ (WorkGuild != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(WorkGuild) : 0);
         return(hashCode);
     }
 }
예제 #4
0
 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);
     }
 }