Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / IOrderRepository Interface / LoadForAffiliate Method / LoadForAffiliate(Int32,DateTime,DateTime,String) Method
Affiliate for which to load the orders
start date to consider when loading orders
end date to consider when loading orders
Sort expression to use for sorting the loaded objects
In This Topic
    LoadForAffiliate(Int32,DateTime,DateTime,String) Method
    In This Topic
    Loads a collection of orders associated to a given affiliate
    Syntax

    Parameters

    affiliateId
    Affiliate for which to load the orders
    startDate
    start date to consider when loading orders
    endDate
    end date to consider when loading orders
    sortExpression
    Sort expression to use for sorting the loaded objects

    Return Value

    A collection of orders associated to a given affiliate
    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