Class ODataPath
Provides an object representation for an OData path with additional information about the EDM type and entity set for the path.
[ODataPathParameterBinding]
public class ODataPath
- Inheritance
-
ODataPath
- Inherited Members
Constructors
ODataPath(IList<ODataPathSegment>)
Initializes a new instance of the ODataPath class.
public ODataPath(IList<ODataPathSegment> segments)
Parameters
segments
IList<ODataPathSegment>The path segments for the path.
ODataPath(params ODataPathSegment[])
Initializes a new instance of the ODataPath class.
public ODataPath(params ODataPathSegment[] segments)
Parameters
segments
ODataPathSegment[]The path segments for the path.
Properties
EdmType
Gets or sets the EDM type of the path.
public IEdmType EdmType { get; }
Property Value
- IEdmType
EntitySet
Gets or sets the entity set of the path.
public IEdmEntitySet EntitySet { get; }
Property Value
- IEdmEntitySet
PathTemplate
Gets the path template describing the types of segments in the path.
public string PathTemplate { get; }
Property Value
Segments
Gets the path segments for the OData path.
public ReadOnlyCollection<ODataPathSegment> Segments { get; }
Property Value
Methods
ToString()
public override string ToString()