Kopīgot, izmantojot


Commerce Foundation Metadata Flow Through Rules

Runtime metadata represents a combined view of the metadata definitions found in the Commerce Server Core Systems and in the Microsoft Multi-Channel Commerce Foundation Metadata Repository. The Microsoft Multi-Channel Commerce Foundation Metadata Repository extends and overrides the metadata definitions provided by the Commerce Server Core Systems. At the same time all the metadata definitions that are not overridden in the Microsoft Multi-Channel Commerce Foundation Metadata Repository are "flown through" or translated into the Microsoft Multi-Channel Commerce Foundation Metadata object model. When such translation happens the following rules are applied:

  1. Commerce Server Core Systems property name populates PropertyDefinition.Name property in Microsoft Multi-Channel Commerce Foundation.

  2. Commerce Server Core Systems property type is mapped to one of the types defined by the PropertyDataType enum in Microsoft Multi-Channel Commerce Foundation.

  3. If a property is marked as required in the Commerce Server Core Systems the RequiredPropertyConstraint is added to the Constraints collection in the Microsoft Multi-Channel Commerce Foundation PropertyDefinition.

  4. If Minimum / Maximum values are defined for a property in the Commerce Server Core Systems Catalog Schema the RangeConstraint is added to the Constraints collection in the Microsoft Multi-Channel Commerce Foundation PropertyDefinition.

  5. If Minimum / Maximum Length custom attributes are defined for a string property in the Commerce Server Core Systems the RangeConstraint is added to the Constraints collection in the Microsoft Multi-Channel Commerce Foundation PropertyDefinition.

  6. If the Display name, Description and Default Value are defined for the Commerce Server Core Systems properties populate PropertyDefinition.DisplayName, PropertyDefinition.Description and PropertyDefinition.DefaultValue properties in the Microsoft Multi-Channel Commerce Foundation including all the corresponding multilingual values.

  7. The LanguageSensitive (Multilingual) property in the Commerce Server Core Systems Catalog Schema maps to the PropertyDefinition.IsMultilingual in Microsoft Multi-Channel Commerce Foundation.

  8. Any additional attributes (including the Custom attributes in the Profile system) defined for a property in the Commerce Server Core Systems are added to the PropertyDefinition.Properties collection in Microsoft Multi-Channel Commerce Foundation.

Commerce Server Core Systems Catalog definitions are represented by the CatalogItemDefinition objects in Microsoft Multi-Channel Commerce Foundation.

See Also

Other Resources

Working with Metadata in Commerce Foundation

Commerce Foundation Metadata

Commerce Foundation Metadata Repository Design

Commerce Foundation Metadata API Reference

Managing and Manipulating Metadata in Commerce Foundation

Commerce Foundation Property Metadata