EdmToObjectNamespaceMap EdmToObjectNamespaceMap EdmToObjectNamespaceMap 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
EdmToObjectNamespaceMapEdmToObjectNamespaceMapEdmToObjectNamespaceMapEdmToObjectNamespaceMap

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 Count Count Count

Gets the number of mappings in the EdmToObjectNamespaceMap.

EdmNamespaces EdmNamespaces EdmNamespaces EdmNamespaces

Gets the list of model namespace names in the EdmToObjectNamespaceMap.

Item[String] Item[String] Item[String] Item[String]

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

Methods

Add(String, String) Add(String, String) Add(String, String) Add(String, String)

Adds a namespace mapping to the EdmToObjectNamespaceMap.

Clear() Clear() Clear() Clear()

Removes all namespace mappings from the EdmToObjectNamespaceMap.

Contains(String) Contains(String) Contains(String) Contains(String)

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(String) Remove(String) Remove(String) Remove(String)

Removes the specified namespace mapping.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
TryGetObjectNamespace(String, String) TryGetObjectNamespace(String, String) TryGetObjectNamespace(String, String) TryGetObjectNamespace(String, String)

Gets a value indicating whether the object namespace was retrieved.

Applies to