Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method should be overridden to apply a partial update to an existing entity in the entity set.
Namespace: System.Web.Http.OData
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
protected internal virtual Task<TEntity> PatchEntityAsync(
TKey key,
Delta<TEntity> patch
)
public protected:
virtual Task<TEntity>^ PatchEntityAsync(
TKey key,
Delta<TEntity>^ patch
)
abstract PatchEntityAsync :
key:'TKey *
patch:Delta<'TEntity> -> Task<'TEntity>
override PatchEntityAsync :
key:'TKey *
patch:Delta<'TEntity> -> Task<'TEntity>
Protected Friend Overridable Function PatchEntityAsync (
key As TKey,
patch As Delta(Of TEntity)
) As Task(Of TEntity)
Parameters
key
Type: TKeyThe entity key of the entity to update.
patch
Type: System.Web.Http.OData.Delta<TEntity>The patch representing the partial update.
Return Value
Type: System.Threading.Tasks.Task<TEntity>
A Task that contains the updated entity when it completes.
See Also
AsyncEntitySetController<TEntity, TKey> Class
System.Web.Http.OData Namespace
Return to top