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

GetHashCode() public method

public GetHashCode ( ) : int
return int
        public override int GetHashCode()
        {
            unchecked
            {
                int result = Id;
                result = (result * 397) ^ Quantity;
                result = (result * 397) ^ (Product != null ? Product.GetHashCode() : 0);
                return result;
            }
        }