Avega.BDD.SpecFlow.Domain.Model.AutoMappingDemoTaBortSen.OrderItem.Equals C# (CSharp) Method

Equals() public method

public Equals ( OrderItem other ) : bool
other OrderItem
return bool
        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);
        }

Same methods

OrderItem::Equals ( object obj ) : bool