SerializationExtensionMethods.GetNamespaceAlias(IEdmModel, String) 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 serialization alias for a given namespace.
public static string GetNamespaceAlias (this Microsoft.OData.Edm.IEdmModel model, string namespaceName);
static member GetNamespaceAlias : Microsoft.OData.Edm.IEdmModel * string -> string
<Extension()>
Public Function GetNamespaceAlias (model As IEdmModel, namespaceName As String) As String
Parameters
- model
- IEdmModel
Model that will be serialized.
- namespaceName
- String
Namespace the alias is needed for.
Returns
The alias of the given namespace, or null if one does not exist.