Share via


ODataPath Class

Definition

Provides an object representation for an OData path with additional information about the EDM type and entity set for the path.

[Microsoft.AspNet.OData.Routing.ODataPathParameterBinding]
public class ODataPath
[<Microsoft.AspNet.OData.Routing.ODataPathParameterBinding>]
type ODataPath = class
Public Class ODataPath
Inheritance
ODataPath
Attributes

Constructors

ODataPath(IEnumerable<ODataPathSegment>)

Initializes a new instance of the ODataPath class.

ODataPath(ODataPathSegment[])

Initializes a new instance of the ODataPath class.

Properties

EdmType

Gets the EDM type of the path.

NavigationSource

Gets the navigation source of the path.

Path

Gets the ODL path.

PathTemplate

Gets the path template describing the types of segments in the path.

Segments

Gets the path segments for the OData path.

Methods

ToString()

Returns a string that represents the current object.

Applies to