SerializationExtensionMethods.GetNamespacePrefixMappings(IEdmModel) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.