Share via


UpdatedODataResult<T> Class

Definition

Represents an action result that is a response to a PUT, PATCH, or a MERGE operation on an OData entity.

public class UpdatedODataResult<T> : Microsoft.AspNetCore.Mvc.ActionResult
type UpdatedODataResult<'T> = class
    inherit ActionResult
Public Class UpdatedODataResult(Of T)
Inherits ActionResult

Type Parameters

T

The entity type.

Inheritance
UpdatedODataResult<T>

Remarks

This action result handles content negotiation and the HTTP prefer header.

Constructors

UpdatedODataResult<T>(T)

Initializes a new instance of the UpdatedODataResult<T> class.

Properties

Entity

Gets the entity that was updated.

Methods

ExecuteResultAsync(ActionContext)

Executes the result operation of the action method asynchronously. This method is called by MVC to process the result of an action method. The default implementation of this method calls the ExecuteResult(ActionContext) method and returns a completed task.

Applies to