Dynamicweb.eCommerce.Orders Namespace > OrderLineCollection Class : Add Method |
'Declaration
Public Shadows Sub Add( _ ByVal _OrderLine As OrderLine _ )
public new void Add( OrderLine _OrderLine )
public static OrderLineCollection GetOrderLineCollection(IDataReader dataReader, Order Order) { OrderLineCollection orderLines = new OrderLineCollection(); while (dataReader.Read()) { OrderLine orderLine = new OrderLine(dataReader, Order); if (orderLine.ParentLineID == "") { orderLine.Add(orderLine); } } return orderLines; }
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