Dynamicweb.eCommerce.Orders Namespace > OrderLineFieldValueCollection Class : Equals Method |
public static bool IsCanBeMerged(OrderLine line1, OrderLine line2) { return line1.ID = line2.ID || (line1.Product.ID = line2.Product.ID && line1.ProductVariantID = line2.ProductVariantID && line1.UnitID = line2.UnitID && line1.OrderLineFieldValues.Equals(line2.OrderLineFieldValues) ); }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
OrderLineFieldValueCollection Class
OrderLineFieldValueCollection Members
Base Implementation in Equals