OperationSegment Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
OperationSegment(IEdmOperation, 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(IEdmOperation, IEnumerable<OperationSegmentParameter>, 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. |
OperationSegment(IEdmOperation, IEdmEntitySetBase)
Build a segment representing a call to an operation - action, function, or service operation.
public OperationSegment (Microsoft.OData.Edm.IEdmOperation operation, Microsoft.OData.Edm.IEdmEntitySetBase entitySet);
new Microsoft.OData.UriParser.OperationSegment : Microsoft.OData.Edm.IEdmOperation * Microsoft.OData.Edm.IEdmEntitySetBase -> Microsoft.OData.UriParser.OperationSegment
Public Sub New (operation As IEdmOperation, entitySet As IEdmEntitySetBase)
Parameters
- operation
- IEdmOperation
A single operation import that this segment will represent.
- entitySet
- IEdmEntitySetBase
The IEdmEntitySetBase containing the entities that this function returns.
Exceptions
Throws if the input operation is null.
Applies to
OperationSegment(IEnumerable<IEdmOperation>, IEdmEntitySetBase)
Build a segment representing a call to an operation - action, function, or service operation.
public OperationSegment (System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.IEdmOperation> operations, Microsoft.OData.Edm.IEdmEntitySetBase entitySet);
new Microsoft.OData.UriParser.OperationSegment : seq<Microsoft.OData.Edm.IEdmOperation> * Microsoft.OData.Edm.IEdmEntitySetBase -> Microsoft.OData.UriParser.OperationSegment
Public Sub New (operations As IEnumerable(Of IEdmOperation), entitySet As IEdmEntitySetBase)
Parameters
- operations
- IEnumerable<IEdmOperation>
The list of possible operation overloads for this segment.
- entitySet
- IEdmEntitySetBase
The IEdmEntitySetBase containing the entities that this function returns.
Exceptions
Throws if the input operations is null.
Applies to
OperationSegment(IEdmOperation, IEnumerable<OperationSegmentParameter>, IEdmEntitySetBase)
Build a segment representing a call to an operation - action, function, or service operation.
public OperationSegment (Microsoft.OData.Edm.IEdmOperation operation, System.Collections.Generic.IEnumerable<Microsoft.OData.UriParser.OperationSegmentParameter> parameters, Microsoft.OData.Edm.IEdmEntitySetBase entitySet);
new Microsoft.OData.UriParser.OperationSegment : Microsoft.OData.Edm.IEdmOperation * seq<Microsoft.OData.UriParser.OperationSegmentParameter> * Microsoft.OData.Edm.IEdmEntitySetBase -> Microsoft.OData.UriParser.OperationSegment
Public Sub New (operation As IEdmOperation, parameters As IEnumerable(Of OperationSegmentParameter), entitySet As IEdmEntitySetBase)
Parameters
- operation
- IEdmOperation
A single operation import that this segment will represent.
- parameters
- IEnumerable<OperationSegmentParameter>
The list of parameters supplied to this segment.
- entitySet
- IEdmEntitySetBase
The IEdmEntitySetBase containing the entities that this function returns.
Applies to
OperationSegment(IEnumerable<IEdmOperation>, IEnumerable<OperationSegmentParameter>, IEdmEntitySetBase)
Creates a segment representing a call to an operation - action, function or service operation.
public OperationSegment (System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.IEdmOperation> operations, System.Collections.Generic.IEnumerable<Microsoft.OData.UriParser.OperationSegmentParameter> parameters, Microsoft.OData.Edm.IEdmEntitySetBase entitySet);
new Microsoft.OData.UriParser.OperationSegment : seq<Microsoft.OData.Edm.IEdmOperation> * seq<Microsoft.OData.UriParser.OperationSegmentParameter> * Microsoft.OData.Edm.IEdmEntitySetBase -> Microsoft.OData.UriParser.OperationSegment
Public Sub New (operations As IEnumerable(Of IEdmOperation), parameters As IEnumerable(Of OperationSegmentParameter), entitySet As IEdmEntitySetBase)
Parameters
- operations
- IEnumerable<IEdmOperation>
The list of possible operation overloads for this segment.
- parameters
- IEnumerable<OperationSegmentParameter>
The list of parameters supplied to this segment.
- entitySet
- IEdmEntitySetBase
The IEdmEntitySet containing the entities that this function returns.