ODataController.Updated<TEntity> Method (TEntity)
Creates an action result with the specified values that is a response to a PUT, PATCH, or a MERGE operation on an OData entity.
Namespace: System.Web.OData
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
protected virtual UpdatedODataResult<TEntity> Updated<TEntity>(
TEntity entity
)
protected:
generic<typename TEntity>
virtual UpdatedODataResult<TEntity>^ Updated(
TEntity entity
)
abstract Updated<'TEntity> :
entity:'TEntity -> UpdatedODataResult<'TEntity>
override Updated<'TEntity> :
entity:'TEntity -> UpdatedODataResult<'TEntity>
Protected Overridable Function Updated(Of TEntity) (
entity As TEntity
) As UpdatedODataResult(Of TEntity)
Parameters
entity
Type: TEntityThe updated entity.
Return Value
Type: System.Web.OData.Results.UpdatedODataResult<TEntity>
An UpdatedODataResult<T> with the specified values.
Type Parameters
- TEntity
The updated entity type.
See Also
ODataController Class
System.Web.OData Namespace
Return to top