Share via


OperationSegment Class

Definition

A segment representing a call to an action, function, or service operation.

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

Constructors

OperationSegment(IEdmOperation, IEdmEntitySetBase)

Build a segment representing a call to an operation - action, function, or service operation.

OperationSegment(IEdmOperation, IEnumerable<OperationSegmentParameter>, IEdmEntitySetBase)

Build a segment representing a call to an operation - action, function, or service operation.

OperationSegment(IEnumerable<IEdmOperation>, IEdmEntitySetBase)

Build a segment representing a call to an operation - action, function, or service operation.

OperationSegment(IEnumerable<IEdmOperation>, IEnumerable<OperationSegmentParameter>, IEdmEntitySetBase)

Creates a segment representing a call to an operation - action, function or service operation.

Properties

EdmType

Gets the IEdmType of this OperationSegment.

EntitySet

Gets the IEdmEntitySet containing the entities that this function returns. This will be null if entities are not returned by this operation, or if there is any ambiguity.

Identifier

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

(Inherited from ODataPathSegment)
Operations

Gets the list of possible operation import overloads for this segment.

Parameters

Gets the list of parameters for this segment.

Methods

HandleWith(PathSegmentHandler)

Handle a PathSegmentHandler.

TranslateWith<T>(PathSegmentTranslator<T>)

Translate a PathSegmentTranslator<T>.

Applies to