Class ODataPathSegment
Provides an object representation for an OData path segment with additional information about the EDM type and entity set for the path.
public abstract class ODataPathSegment
- Inheritance
-
ODataPathSegment
- Derived
- Inherited Members
Constructors
ODataPathSegment()
Initializes a new instance of the ODataPathSegment class.
protected ODataPathSegment()
Properties
SegmentKind
Gets the segment kind for the current segment.
public abstract string SegmentKind { get; }
Property Value
Methods
GetEdmType(IEdmType)
Gets the EDM type for this segment.
public abstract IEdmType GetEdmType(IEdmType previousEdmType)
Parameters
previousEdmType
IEdmTypeThe EDM type of the previous path segment.
Returns
- IEdmType
The EDM type for this segment.
GetEntitySet(IEdmEntitySet)
Gets the entity set for this segment.
public abstract IEdmEntitySet GetEntitySet(IEdmEntitySet previousEntitySet)
Parameters
previousEntitySet
IEdmEntitySetThe entity set of the previous path segment.
Returns
- IEdmEntitySet
The entity set for this segment.