共用方式為


StorageEntityContainer Attribute (MSL)

The StorageEntityContainer and the CdmEntityContainer are attributes of the EntityContainerMapping element in the Entity Data Model (EDM) mapping specification.

<EntityContainerMapping edm:CdmEntityContainer="HumanResources" 
                          StorageEntityContainer="HumanResources">

The CdmEntityContainer identifies an entity container that contains entity sets and association sets defined in conceptual schema definition language (CSDL). The StorageEntityContainer identifies metadata on elements of the storage model used by the application. Storage metadata is specified in store schema definition language (SSDL).

In the XML hierarchy, the EntityContainer element is separate from the Schema element even though the EntityContainer is defined in a schema. This is important in mapping the EntityContainer to storage because the EntityContainer elements in the conceptual schema are mapped to corresponding EntityContainer elements in the storage metadata.

In the mapping file, the fully qualified name of the EntityContainer does not include the schema namespace name. The use of an entity container name qualified by a schema namespace name ill causes a mapping exception.

For more information about entity containers, see Entity Containers (EDM).

See Also

Concepts

EntityContainerMapping Element (MSL)
EntityContainer Element (CSDL)
EntityContainer Element (SSDL)
Entity Containers (EDM)

Other Resources

EDM Specifications