public virtual bool Equals(OrderItem other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return other.Id == Id && other.Quantity == Quantity && Equals(other.Product, Product); }