Share via


Commerce Foundation Site

The Commerce Server 2009 Catalog System is hierarchically organized where Site is the root node. A site commerce entity consists of one or more catalogs, accessible through the catalog's property. In addition to allowing access to catalogs, the site commerce entity provides free text search capabilities across all, or a subset, of its catalogs.

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="Site">
    <DisplayName value="Site" />
    <Properties>
        <Property name="Id" dataType="String" />
    </Properties>
    <Relationships>
        <Relationship name="Catalogs" type="CatalogRelationship" modelName="Site" isMultipleItems="true" >
            <DisplayName value="Catalogs" />
       </Relationship>
    </Relationships>
</CommerceEntity>

Properties

Property

Type

Description

Id

String

Unique identifier of the commerce entity. This value is derived from the SiteName property of a Commerce Server site.

Relationships

Property

Description

Catalogs

Relationship list containing the catalogs associated with the site.

Supported Operations

The following operations are supported for the Site commerce entity:

Commerce Foundation Site CommerceQuery

See Also

Other Resources

Developing with Commerce Server 2009

Developing with the Commerce Foundation Catalog System

Commerce Foundation Site CommerceQuery