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.Http.OData.Routing
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Inheritance Hierarchy

System.Object
  System.Web.Http.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 EntitySet

Gets or sets the entity set 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.Http.OData.Routing Namespace

Return to top