다음을 통해 공유


Commerce Foundation SiteTermElement

This Commerce Server 2009 commerce entity represents a single element of a site term. For example, a site term named AccountStatus may have site term elements to represent Active, Disabled, and so on.

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="SiteTermElement">
    <EntityMappings>
      <EntityMapping csType="Microsoft.CommerceServer.Runtime.Profiles.SiteTermElement" csAssembly="Microsoft.CommerceServer.Runtime">
        <PropertyMappings>
          <PropertyMapping property="Id" csProperty="Value"/>
          <PropertyMapping property="DisplayName" csProperty="Name"/>
        </PropertyMappings>
      </EntityMapping>
    </EntityMappings>
    <Properties>
      <Property name="Id" dataType="String"/>
      <Property name="DisplayName" dataType="String"/>
    </Properties>
</CommerceEntity>

Properties

Property

Type

Description

DisplayName

String

User interface friendly display name for the site term element (maps to SiteTermElement.Name).

Id

String

Unique name for this site term.

Relationships

None.

Supported Operations

Commerce Foundation SiteTerm CommerceQuery

See Also

Other Resources

Developing with the Commerce Foundation Profiles System

Commerce Foundation SiteTerm