public override int GetHashCode() { int hash = 1; if (SKU.Length != 0) { hash ^= SKU.GetHashCode(); } if (Timestamp != 0UL) { hash ^= Timestamp.GetHashCode(); } if (Quantity != 0) { hash ^= Quantity.GetHashCode(); } if (ActivityType != 0) { hash ^= ActivityType.GetHashCode(); } if (ActivityID.Length != 0) { hash ^= ActivityID.GetHashCode(); } if (OrderID.Length != 0) { hash ^= OrderID.GetHashCode(); } return(hash); }
public override int GetHashCode() { var hashCode = 352033288; hashCode = hashCode * -1521134295 + Description.GetHashCode(); hashCode = hashCode * -1521134295 + SKU.GetHashCode(); return(hashCode); }
public override int GetHashCode() { unchecked { var hashCode = RateID; hashCode = (hashCode * 397) ^ Amount.GetHashCode(); hashCode = (hashCode * 397) ^ (Description != null ? Description.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (SKU != null ? SKU.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Category != null ? Category.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Archived.GetHashCode(); return(hashCode); } }
public virtual int _GetUniqueIdentifier() { var hashCode = 399326290; hashCode = hashCode * -1521134295 + (Id?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (WastedStock?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (StockPerSKU?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (SKU?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (WastePercentage?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (ItemDescription?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (DateFormatted?.GetHashCode() ?? 0); return(hashCode); }
public override int GetHashCode() { int hash = 1; if (SKU.Length != 0) { hash ^= SKU.GetHashCode(); } if (UnitPrice != 0) { hash ^= UnitPrice.GetHashCode(); } if (Quantity != 0) { hash ^= Quantity.GetHashCode(); } return(hash); }
public override int GetHashCode() { return(SKU.GetHashCode()); }
public override int GetHashCode() { return((SKU == null) ? 0 : SKU.GetHashCode()); }