ODataController.Updated<TEntity>(TEntity) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
UpdatedODataResult<TEntity>
An UpdatedODataResult<T> with the specified values.
Remarks
This function uses types that are AspNetCore-specific.