OperationSegment Class
A segment representing a call to an action, function, or service operation.
Inheritance Hierarchy
System.Object
Microsoft.Data.OData.ODataAnnotatable
Microsoft.Data.OData.Query.SemanticAst.ODataPathSegment
Microsoft.Data.OData.Query.SemanticAst.OperationSegment
Namespace: Microsoft.Data.OData.Query.SemanticAst
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public NotInheritable Class OperationSegment _
Inherits ODataPathSegment
'Usage
Dim instance As OperationSegment
public sealed class OperationSegment : ODataPathSegment
public ref class OperationSegment sealed : public ODataPathSegment
[<SealedAttribute>]
type OperationSegment =
class
inherit ODataPathSegment
end
public final class OperationSegment extends ODataPathSegment
The OperationSegment type exposes the following members.
Constructors
Name | Description | |
---|---|---|
OperationSegment(IEdmFunctionImport, IEdmEntitySet) | Build a segment representing a call to an operation - action, function, or service operation. | |
OperationSegment(IEnumerable<IEdmFunctionImport>, IEdmEntitySet) | Build a segment representing a call to an operation - action, function, or service operation. | |
OperationSegment(IEnumerable<IEdmFunctionImport>, IEnumerable<OperationSegmentParameter>, IEdmEntitySet) | Creates a segment representing a call to an operation - action, function or service operation. |
Top
Properties
Name | Description | |
---|---|---|
EdmType | Gets the IEdmType of this OperationSegment. (Overrides ODataPathSegment.EdmType.) | |
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. | |
Operations | Gets the list of possible FunctionImport overloads for this segment. | |
Parameters | Gets the list of parameters for this segment. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetAnnotation<T> | Gets or sets the annotation by type. (Inherited from ODataAnnotatable.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Handle | Handle a PathSegmentHandler. (Overrides ODataPathSegment.Handle(PathSegmentHandler).) | |
SetAnnotation<T> | Sets an annotation of type T. (Inherited from ODataAnnotatable.) | |
ToString | (Inherited from Object.) | |
Translate<T>(PathSegmentTranslator<T>) | Translate a ODataPathSegment using an implemntation of PathSegmentTranslator<T>. (Inherited from ODataPathSegment.) | |
Translate<T>(PathSegmentTranslator<T>) | Translate a PathSegmentTranslator<T>. (Overrides ODataPathSegment.Translate<T>(PathSegmentTranslator<T>).) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.