SerializationExtensionMethods.GetNamespacePrefixMappings(IEdmModel) Method

Definition

Gets the preferred prefix mappings for xml namespaces from an IEdmModel

public static System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> GetNamespacePrefixMappings (this Microsoft.OData.Edm.IEdmModel model);
static member GetNamespacePrefixMappings : Microsoft.OData.Edm.IEdmModel -> seq<System.Collections.Generic.KeyValuePair<string, string>>
<Extension()>
Public Function GetNamespacePrefixMappings (model As IEdmModel) As IEnumerable(Of KeyValuePair(Of String, String))

Parameters

model
IEdmModel

Reference to the calling object.

Returns

Namespace prefixes that exist on the model.

Applies to