EntityClassGenerator.EdmToObjectNamespaceMap Property

Definition

Gets an EdmToObjectNamespaceMap that contains the conceptual schema definition language (CSDL) to code namespace mappings.

C#
public System.Data.Entity.Design.EdmToObjectNamespaceMap EdmToObjectNamespaceMap { get; }

Property Value

The CSDL to code namespace mappings.

Remarks

Namespace mappings can be used to specify a different code namespace for generating code than what is specified in the CSDL file. The namespace mappings are consulted when a reference to a type is to be generated. If an entry is found, the value will be used to generate the qualified reference to the type; otherwise, the CSDL namespace will be used.

Applies to

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1