Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Search Namespace / OrderFilterDataSource Class / LoadForFilter Method / LoadForFilter(OrderFilter,Int32,Int32,String) Method
The order filter that determines the Order objects that should be loaded.
Maximum number of rows to retrieve.
Starting index from where to start retrieving.
The sort expression to use for sorting the loaded objects.
In This Topic
    LoadForFilter(OrderFilter,Int32,Int32,String) Method
    In This Topic
    Loads a collection of Order objects from the database based on given SQL criteria
    Syntax
    [DataObjectMethod(DataObjectMethodType.Select)]
    public static IList<Order> LoadForFilter( 
       OrderFilter filter,
       int maximumRows,
       int startRowIndex,
       string sortExpression
    )

    Parameters

    filter
    The order filter that determines the Order objects that should be loaded.
    maximumRows
    Maximum number of rows to retrieve.
    startRowIndex
    Starting index from where to start retrieving.
    sortExpression
    The sort expression to use for sorting the loaded objects.

    Return Value

    A collection of Order objects
    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