SetNamespacePrefixMappings Method

WCF Data Services 5.0

Sets the prefix mappings of the namespace for a navigation property.

Namespace:  Microsoft.Data.Edm.Csdl
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

public static void SetNamespacePrefixMappings(
	this IEdmModel model,
	XmlNamespaceManager mappings


Type: Microsoft.Data.Edm..::..IEdmModel
Model containing the entity set.
Type: System.Xml..::..XmlNamespaceManager
The mappings.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmModel. When you use instance method syntax to call this method, omit the first parameter. For more information, see or