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 TEntity PatchEntity(
TKey key,
Delta<TEntity> patch
)
public protected:
virtual TEntity PatchEntity(
TKey key,
Delta<TEntity>^ patch
)
abstract PatchEntity :
key:'TKey *
patch:Delta<'TEntity> -> 'TEntity
override PatchEntity :
key:'TKey *
patch:Delta<'TEntity> -> 'TEntity
Protected Friend Overridable Function PatchEntity (
key As TKey,
patch As Delta(Of TEntity)
) As 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: TEntity
The updated entity.
See Also
EntitySetController<TEntity, TKey> Class
System.Web.Http.OData Namespace
Return to top