Share via


Commerce Foundation Basket Order Search

This Commerce Server 2009 commerce entity is used only to specify a date-range search for baskets owned by a user.

Model

This commerce entity can be modified, as required. This model, taken from the out-of-the-box site, is provided as an example.

<CommerceEntity name="BasketOrderSearch">
    <DisplayName value="BasketOrderSearch" />
    <Description value="Provides order date range search capabilities." />
    <Properties>
      <Property name="UserId" dataType="String">
        <DisplayName value="UserId" />
        <Description value="The user id." />
      </Property>
      <Property name="CreatedDateStart" dataType="DateTime">
        <DisplayName value="Created Date Start" />
        <Description value="The lower-bound for the created date search." />
      </Property>
      <Property name="CreatedDateEnd" dataType="DateTime">
        <DisplayName value="Created Date End" />
        <Description value="The upper-bound for the created date search." />
      </Property>
    </Properties>
</CommerceEntity>

Properties

Property

Type

Description

CreatedDateEnd

DateTime?

Upper-bound for the created date search. The time component is ignored.

CreatedDateStart

DateTime?

Lower-bound for the created date search. The time component is ignored.

UserId

String

User ID associated with the order.

Relationships

None.

Supported Operations

The basket commerce entity supports the following operations:

Commerce Foundation Basket CommerceQuery

See Also

Other Resources

Developing with the Commerce Foundation Orders System

Commerce Foundation Basket