Share via


ODataUriParser Class

Represents the main Public API to parse an ODataURI.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.Query.ODataUriParser

Namespace:  Microsoft.Data.OData.Query
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public NotInheritable Class ODataUriParser
'Usage
Dim instance As ODataUriParser
public sealed class ODataUriParser
public ref class ODataUriParser sealed
[<SealedAttribute>]
type ODataUriParser =  class end
public final class ODataUriParser

The ODataUriParser type exposes the following members.

Constructors

  Name Description
Public method ODataUriParser Build an ODataUriParser

Top

Properties

  Name Description
Public property BatchReferenceCallback Gets or Sets a callback that returns a BatchReferenceSegment (to be used for $0 in batch)
Public property FunctionParameterAliasCallback Gets or sets a callback that returns the raw string value for an aliased function parameter.
Public property Model Gets the model for this ODataUriParser
Public property ServiceRoot Gets the absolute URI of the service root.
Public property Settings The settings for this instance of ODataUriParser. Refer to the documentation for the individual properties of ODataUriParserSettings for more information.
Public property UrlConventions Gets or Sets the ODataUrlConventions to use while parsing, specifically whether to recognize keys as segments or not.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public methodStatic member ParseFilter(String, IEdmModel, IEdmType) Parses a filter clause on the given elementType, binding the text into semantic nodes using the provided model.
Public method ParseFilter(String, IEdmType, IEdmEntitySet) Parse a filter clause from an instantiated class.
Public methodStatic member ParseFilter(String, IEdmModel, IEdmType, IEdmEntitySet) Parses a filter clause on the given elementType, binding the text into semantic nodes using the provided model.
Public methodStatic member ParseOrderBy(String, IEdmModel, IEdmType) Parses an orderBy clause on the given elementType, binding the text into semantic nodes using the provided model.
Public method ParseOrderBy(String, IEdmType, IEdmEntitySet) Parse an orderby clause from an instance of this class
Public methodStatic member ParseOrderBy(String, IEdmModel, IEdmType, IEdmEntitySet) Parses an orderBy clause on the given elementType, binding the text into semantic nodes using the provided model.
Public method ParsePath Parses a pathUri into a semantic ODataPath object.
Public method ParseSelectAndExpand ParseSelectAndExpand from an instantiated class
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Data.OData.Query Namespace