Partager via


ODataPath Class

 

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

Namespace:   System.Web.OData.Routing
Assembly:  System.Web.OData (in System.Web.OData.dll)

Inheritance Hierarchy

System.Object
  System.Web.OData.Routing.ODataPath

Syntax

[ODataPathParameterBindingAttribute]
public class ODataPath
[ODataPathParameterBindingAttribute]
public ref class ODataPath 
[<ODataPathParameterBindingAttribute>]
type ODataPath = class end
<ODataPathParameterBindingAttribute>
Public Class ODataPath

Constructors

Name Description
System_CAPS_pubmethod ODataPath(IList<ODataPathSegment>)

Initializes a new instance of the ODataPath class.

System_CAPS_pubmethod ODataPath(ODataPathSegment[])

Initializes a new instance of the ODataPath class.

Properties

Name Description
System_CAPS_pubproperty EdmType

Gets or sets the EDM type of the path.

System_CAPS_pubproperty NavigationSource

Gets or sets the navigation source of the path.

System_CAPS_pubproperty PathTemplate

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

System_CAPS_pubproperty Segments

Gets the path segments for the OData path.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Overrides Object.ToString().)

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

System.Web.OData.Routing Namespace

Return to top