Class EntitySetPathSegment
An ODataPathSegment implementation representing an entity set.
public class EntitySetPathSegment : ODataPathSegment
- Inheritance
-
EntitySetPathSegment
- Inherited Members
Constructors
EntitySetPathSegment(IEdmEntitySet)
Initializes a new instance of the EntitySetPathSegment class.
public EntitySetPathSegment(IEdmEntitySet entitySet)
Parameters
entitySet
IEdmEntitySetThe entity set being accessed.
EntitySetPathSegment(string)
Initializes a new instance of the EntitySetPathSegment class.
public EntitySetPathSegment(string entitySetName)
Parameters
entitySetName
stringName of the entity set.
Properties
EntitySet
Gets the entity set represented by this segment.
public IEdmEntitySet EntitySet { get; }
Property Value
- IEdmEntitySet
EntitySetName
Gets the name of the entity set.
public string EntitySetName { get; }
Property Value
SegmentKind
Gets the segment kind for the current segment.
public override string SegmentKind { get; }
Property Value
Methods
GetEdmType(IEdmType)
Gets the EDM type for this segment.
public override 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 override IEdmEntitySet GetEntitySet(IEdmEntitySet previousEntitySet)
Parameters
previousEntitySet
IEdmEntitySetThe entity set of the previous path segment.
Returns
- IEdmEntitySet
The entity set for this segment.
ToString()
Returns a string that represents this instance.
public override string ToString()