Skip to main content

Definition

Assembly: Microsoft.Restier.AspNetCore.dll Namespace: Microsoft.Restier.AspNetCore.Model Inheritance: Microsoft.Restier.AspNetCore.Model.OperationAttribute

Syntax

Microsoft.Restier.AspNetCore.Model.UnboundOperationAttribute

Constructors

.ctor

Syntax

public UnboundOperationAttribute()

.ctor Inherited

Inherited from Microsoft.Restier.AspNetCore.Model.OperationAttribute

Syntax

protected OperationAttribute()

Properties

EntitySet

Gets or sets the entity set associated with the operation result.

Syntax

public string EntitySet { get; set; }

Property Value

Type: string

IsComposable Inherited

Inherited from Microsoft.Restier.AspNetCore.Model.OperationAttribute
Gets or sets a value indicating whether the function is composable. Defaults to false.

Syntax

public bool IsComposable { get; set; }

Property Value

Type: bool

Namespace Inherited

Inherited from Microsoft.Restier.AspNetCore.Model.OperationAttribute
Gets or sets the namespace of the operation. The default value will be same as the namespace of entity type.

Syntax

public string Namespace { get; set; }

Property Value

Type: string

OperationType Inherited

Inherited from Microsoft.Restier.AspNetCore.Model.OperationAttribute
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

public Microsoft.Restier.AspNetCore.Model.OperationType OperationType { get; set; }

Property Value

Type: Microsoft.Restier.AspNetCore.Model.OperationType