Skip to main content

Definition

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

Syntax

Microsoft.Restier.AspNet.Model.UnboundOperationAttribute

Constructors

.ctor

Syntax

public UnboundOperationAttribute()

.ctor Inherited

Inherited from Microsoft.Restier.AspNet.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.AspNet.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.AspNet.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.AspNet.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.AspNet.Model.OperationType OperationType { get; set; }

Property Value

Type: Microsoft.Restier.AspNet.Model.OperationType