Share via


ODataUriUtils Class

Definition

URI Utility methods.

public static class ODataUriUtils
type ODataUriUtils = class
Public Class ODataUriUtils
Inheritance
ODataUriUtils

Methods

ConvertFromUriLiteral(String, ODataVersion, IEdmModel, IEdmTypeReference)

Converts the given value to a corresponding CLR type. Expects the value to have already been properly unescaped from an actual Uri.

ConvertFromUriLiteral(String, ODataVersion)

Converts the given value to a corresponding CLR type. Expects the value to have already been properly unescaped from an actual Uri.

ConvertToUriLiteral(Object, ODataVersion, Boolean)

Converts the given object to a string for use in a Uri. Does not perform any of the escaping that Uri provides. No type verification is used.

ConvertToUriLiteral(Object, ODataVersion, IEdmModel, Boolean)

Converts the given object to a string in the specified format for use in a Uri. Does not perform any of the escaping that Uri provides. Will perform type verification based on the given model if possible.

ConvertToUriLiteral(Object, ODataVersion, IEdmModel)

Converts the given object to a string in the specified format for use in a Uri. Does not perform any of the escaping that Uri provides. Will perform type verification based on the given model if possible.

ConvertToUriLiteral(Object, ODataVersion)

Converts the given object to a string for use in a Uri. Does not perform any of the escaping that Uri provides. No type verification is used.

Applies to