Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / OrderRepository Class / LoadForFilter Method / LoadForFilter(OrderFilter,Int32,Int32,String) Method
Representing the filter to apply to the orders
Maximum number of rows to return
Starting index of first record in result set
Sort expression to apply to the result set
Version
LoadForFilter(OrderFilter,Int32,Int32,String) Method
Loads orders based on the current filter.
Syntax

Parameters

filter
Representing the filter to apply to the orders
maximumRows
Maximum number of rows to return
startRowIndex
Starting index of first record in result set
sortExpression
Sort expression to apply to the result set

Return Value

A collection of orders matching the filter
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