שתף באמצעות


Commerce Foundation SiteTerm

A Commerce Server 2009 site term is a set of values used in conjunction with the Commerce Server Profiles System. They are essentially enumerations. Localization of site terms is not supported in Commerce Server. The purpose of the SiteTerm commerce entity is to provide information for a specific site term.

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="SiteTerm">
    <EntityMappings>
      <EntityMapping csType="Microsoft.CommerceServer.Runtime.Profiles.SiteTerm" csAssembly="Microsoft.CommerceServer.Runtime">
        <PropertyMappings>
          <PropertyMapping property="Id" csProperty="Name"/>
        </PropertyMappings>
      </EntityMapping>
    </EntityMappings>
    <Properties>
      <Property name="Id" dataType="String"/>
    </Properties>
    <Relationships>
      <Relationship name="Elements" modelName="SiteTermElement" type="Relationship" isMultipleItems="true" />
    </Relationships>
</CommerceEntity>

Properties

Property

Type

Description

Id

String

Unique name for this site term.

Relationships

Property

Description

Elements

Relationship list that contains a collection of site term elements, which make up the site term.

Supported Operations

The site term commerce entity supports the following operations:

Commerce Foundation SiteTerm CommerceQuery

See Also

Other Resources

Developing with the Commerce Foundation Profiles System

Commerce Foundation SiteTermElement

Commerce Foundation SiteTerm CommerceQuery