Share via


OperationImportSegment Class

Definition

A segment representing a call to an actionimport, or functionImport.

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

Constructors

OperationImportSegment(IEdmOperationImport, IEdmEntitySetBase, IEnumerable<OperationSegmentParameter>)

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

OperationImportSegment(IEdmOperationImport, IEdmEntitySetBase)

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

OperationImportSegment(IEnumerable<IEdmOperationImport>, IEdmEntitySetBase, IEnumerable<OperationSegmentParameter>)

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

OperationImportSegment(IEnumerable<IEdmOperationImport>, IEdmEntitySetBase)

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

Properties

EdmType

Gets the IEdmType of this OperationSegment.

EntitySet

Gets the IEdmEntitySetBase 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)
OperationImports

Gets the list of possible operation import overloads for this segment. TODO: Change this to a property that returns just an operationImport.

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