Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / IOrderItemRepository Interface / LoadForOrderItemType Method / LoadForOrderItemType(OrderItemType,DateTime,DateTime) Method
Type of OrderItem objects to load
Start date for the date range
End date for the date range
In This Topic
    LoadForOrderItemType(OrderItemType,DateTime,DateTime) Method
    In This Topic
    Loads a collection of OrderItem objects for given order item type
    Syntax
    [DataObjectMethod(DataObjectMethodType.Select)]
    IList<OrderItem> LoadForOrderItemType( 
       OrderItemType orderItemType,
       DateTime startDate,
       DateTime endDate
    )

    Parameters

    orderItemType
    Type of OrderItem objects to load
    startDate
    Start date for the date range
    endDate
    End date for the date range

    Return Value

    A collection of OrderItem objects for given order item type
    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