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.AspNet.OData.Results.UpdatedODataResult<TEntity> Updated<TEntity> (TEntity entity);
abstract member Updated : 'Entity -> Microsoft.AspNet.OData.Results.UpdatedODataResult<'Entity>
override this.Updated : 'Entity -> Microsoft.AspNet.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

These function uses types that are AspNet-specific.

Applies to