Definition
Assembly: Microsoft.Restier.AspNetCore.dll Namespace: Microsoft.Restier.AspNetCore.Model Inheritance: System.AttributeSyntax
Summary
An abstract class containing the common information for registering Actions and Functions to an OData schema.Remarks
This was turned into an Abstract class in favor or more specific functionality. The old design created situations where you could not achive the behavior you desired, due to unsupported parameter combinations. Please use [BoundOperation] or [UnboundOperation] instead.Properties
IsComposable
Gets or sets a value indicating whether the function is composable. Defaults tofalse.
Syntax
Property Value
Type:bool
Namespace
Gets or sets the namespace of the operation. The default value will be same as the namespace of entity type.Syntax
Property Value
Type:string
OperationType
Gets or sets a value indicating what type of Operation is being registered. OperationType.FunctionFunctions</see> respond to HTTP GET requests, while OperationType.ActionActions</see> respond to HTTP POST requests. Defaults to OperationType.Function.Syntax
Property Value
Type:Microsoft.Restier.AspNetCore.Model.OperationType