Share via


ODataController.Updated<TEntity>(TEntity) Method

Definition

Creates an action result with the specified values that is a response to a PUT, PATCH, or a MERGE operation on an OData entity.

protected virtual Microsoft.AspNetCore.OData.Results.UpdatedODataResult<TEntity> Updated<TEntity> (TEntity entity);
abstract member Updated : 'Entity -> Microsoft.AspNetCore.OData.Results.UpdatedODataResult<'Entity>
override this.Updated : 'Entity -> Microsoft.AspNetCore.OData.Results.UpdatedODataResult<'Entity>
Protected Overridable Function Updated(Of TEntity) (entity As TEntity) As UpdatedODataResult(Of TEntity)

Type Parameters

TEntity

The updated entity type.

Parameters

entity
TEntity

The updated entity.

Returns

An UpdatedODataResult<T> with the specified values.

Remarks

This function uses types that are AspNetCore-specific.

Applies to