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.
Handles PATCH and MERGE requests to partially update a single entity in the entity set.
Namespace: System.Web.Http.OData
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
[AcceptVerbsAttribute(new string[] { ... })]
public virtual HttpResponseMessage Patch(
TKey key,
Delta<TEntity> patch
)
public:
[AcceptVerbsAttribute(new array<String^>^ { ... })]
virtual HttpResponseMessage^ Patch(
TKey key,
Delta<TEntity>^ patch
)
[<AcceptVerbsAttribute([| ... |])>]
abstract Patch :
key:'TKey *
patch:Delta<'TEntity> -> HttpResponseMessage
[<AcceptVerbsAttribute([| ... |])>]
override Patch :
key:'TKey *
patch:Delta<'TEntity> -> HttpResponseMessage
<AcceptVerbsAttribute(New String() { ... })>
Public Overridable Function Patch (
key As TKey,
patch As Delta(Of TEntity)
) As HttpResponseMessage
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.Net.Http.HttpResponseMessage
The response message to send back to the client.
See Also
EntitySetController<TEntity, TKey> Class
System.Web.Http.OData Namespace
Return to top