Share via


ODataUriParser Class

Definition

Main Public API to parse an ODataURI.

public sealed class ODataUriParser
type ODataUriParser = class
Public NotInheritable Class ODataUriParser
Inheritance
ODataUriParser

Constructors

ODataUriParser(IEdmModel, Uri, IServiceProvider)

Build an ODataUriParser

ODataUriParser(IEdmModel, Uri, Uri, IServiceProvider)

Build an ODataUriParser

ODataUriParser(IEdmModel, Uri, Uri)

Build an ODataUriParser

ODataUriParser(IEdmModel, Uri)

Build an ODataUriParser

Properties

BatchReferenceCallback

Gets or Sets a callback that returns a BatchReferenceSegment (to be used for $0 in batch)

Container

The optional dependency injection container to get related services for URI parsing.

CustomQueryOptions

Gets non-OData query options.

EnableNoDollarQueryOptions

Whether no dollar query options is enabled. If it is enabled, the '$' prefix of system query options becomes optional. For example, "select" and "$select" are equivalent in this case.

EnableUriTemplateParsing

Whether Uri template parsing is enabled. Uri template for keys and function parameters are supported. See UriTemplateExpression class for detail.

Model

Gets the model for this ODataUriParser

ParameterAliasNodes

Get the parameter alias nodes info.

ParseDynamicPathSegmentFunc

Gets or sets the function which can be used to parse an unknown path segment or an open property segment.

Resolver

Gets or sets the ODataUriResolver for ODataUriParser.

ServiceRoot

Gets the absolute URI of the service root.

Settings

The settings for this instance of ODataUriParser. Refer to the documentation for the individual properties of ODataUriParserSettings for more information.

UrlKeyDelimiter

Gets or Sets the ODataUrlKeyDelimiter to use while parsing, specifically whether to recognize keys as segments or not.

Methods

ParseApply()

Parses the $apply.

ParseCompute()

Parses the $compute.

ParseCount()

Parses a $count query option

ParseDeltaToken()

Parses a $deltatoken query option

ParseEntityId()

Parses the entity identifier.

ParseFilter()

Parses a filter clause on the given full Uri, binding the text into semantic nodes using the constructed mode.

ParseIndex()

Parses a $index query option

ParseOrderBy()

Parses a orderBy clause on the given full Uri, binding the text into semantic nodes using the constructed mode.

ParsePath()

Parses the odata path on the given full Uri

ParseSearch()

Parses the $search.

ParseSelectAndExpand()

ParseSelectAndExpand from an instantiated class

ParseSkip()

Parses a $skip query option

ParseSkipToken()

Parses a $skiptoken query option

ParseTop()

Parses a $top query option

ParseUri()

Parse a full Uri into its contingent parts with semantic meaning attached to each part. See ODataUri.

Validate(ODataUrlValidationRuleSet, IEnumerable<ODataUrlValidationMessage>)

Validate the OData Uri using a specified set of rules.

Validate(ODataUrlValidator, IEnumerable<ODataUrlValidationMessage>)

Validate the OData Uri using an ODataUrlValidator.

Applies to