OperationSegment Constructor (IEnumerable<IEdmFunctionImport>, IEdmEntitySet)

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

Namespace:  Microsoft.Data.OData.Query.SemanticAst
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Sub New ( _
    operationsIn As IEnumerable(Of IEdmFunctionImport), _
    entitySet As IEdmEntitySet _
)
'Usage
Dim operationsIn As IEnumerable(Of IEdmFunctionImport)
Dim entitySet As IEdmEntitySet 

Dim instance As New OperationSegment(operationsIn, _
    entitySet)
public OperationSegment(
    IEnumerable<IEdmFunctionImport> operationsIn,
    IEdmEntitySet entitySet
)
public:
OperationSegment(
    IEnumerable<IEdmFunctionImport^>^ operationsIn, 
    IEdmEntitySet^ entitySet
)
new : 
        operationsIn:IEnumerable<IEdmFunctionImport> * 
        entitySet:IEdmEntitySet -> OperationSegment
public function OperationSegment(
    operationsIn : IEnumerable<IEdmFunctionImport>, 
    entitySet : IEdmEntitySet
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Throws if the input operations is null.

See Also

Reference

OperationSegment Class

OperationSegment Overload

Microsoft.Data.OData.Query.SemanticAst Namespace