Share via


EntitySetSegment Class

Definition

A segment representing an EntitySet in a path.

public sealed class EntitySetSegment : Microsoft.OData.UriParser.ODataPathSegment
type EntitySetSegment = class
    inherit ODataPathSegment
Public NotInheritable Class EntitySetSegment
Inherits ODataPathSegment
Inheritance
EntitySetSegment

Constructors

EntitySetSegment(IEdmEntitySet)

Build a segment representing an entity set

Properties

EdmType

Gets the IEdmType of this EntitySetSegment. This will always be an IEdmCollectionType for the IEdmEntityType that this set contains.

EntitySet

Gets the entity set represented by this segment.

Identifier

Returns the identifier for this segment i.e. string part without the keys.

(Inherited from ODataPathSegment)

Methods

HandleWith(PathSegmentHandler)

Handle an EntitySetSegment using the an instance of the PathSegmentHandler.

TranslateWith<T>(PathSegmentTranslator<T>)

Translate an EntitySetSegment into another type using an instance of PathSegmentTranslator<T>.

Applies to