Dynamicweb 8 Documentation
OrderLineCollection Class
Members  Example 

Represents a collection of the OrderLine objects.
Object Model
OrderLineCollection ClassOrderLine Class
Syntax
Example
class Renderer 
{ 
   public void RenderOrderLines(Order order, Rendering.Template ParentTemplate)
   {

      Rendering.Template orderLineTemplate = ParentTemplate.GetLoop("OrderLines");
      foreach (OrderLine orderLine in order.OrderLines)
   	  {
   		 RenderOrderLine(orderLine, orderLineTemplate);
   		 orderLineTemplate.CommitLoop();
   	  }
   }
   
   public void RenderOrderLine(OrderLine orderLine, Rendering.Template template)
   {
       //TODO: insert your code here.
   }
}
Inheritance Hierarchy

System.Object
   System.Collections.ObjectModel.Collection<T>
      Dynamicweb.eCommerce.Orders.OrderLineCollection

Requirements

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

See Also

Reference

OrderLineCollection Members
Dynamicweb.eCommerce.Orders Namespace

Send Feedback