Rediger

Del via


EdmToObjectNamespaceMap Class

Definition

Represents a collection of conceptual model to code namespace mappings.

public ref class EdmToObjectNamespaceMap
public class EdmToObjectNamespaceMap
type EdmToObjectNamespaceMap = class
Public Class EdmToObjectNamespaceMap
Inheritance
EdmToObjectNamespaceMap

Remarks

The namespace mappings are used by the EntityClassGenerator class 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.

Properties

Count

Gets the number of mappings in the EdmToObjectNamespaceMap.

EdmNamespaces

Gets the list of model namespace names in the EdmToObjectNamespaceMap.

Item[String]

Gets or sets the code namespace name of the specified model namespace name.

Methods

Add(String, String)

Adds a namespace mapping to the EdmToObjectNamespaceMap.

Clear()

Removes all namespace mappings from the EdmToObjectNamespaceMap.

Contains(String)

Gets a value indicating whether the EdmToObjectNamespaceMap contains the specified model namespace name.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(String)

Removes the specified namespace mapping.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
TryGetObjectNamespace(String, String)

Gets a value indicating whether the object namespace was retrieved.

Applies to