TableController<TData>.UpdateAsync Method (String, Delta<TData>)
Provides a helper method for updating an entity in a backend store. It deals with any model validation errors as well as exceptions thrown by the IDomainManager<TData> and maps them into appropriate HTTP responses.
Namespace: Microsoft.WindowsAzure.Mobile.Service
Assembly: Microsoft.WindowsAzure.Mobile.Service.Tables (in Microsoft.WindowsAzure.Mobile.Service.Tables.dll)
Syntax
protected virtual Task<TData> UpdateAsync(
string id,
Delta<TData> patch
)
protected:
virtual Task<TData>^ UpdateAsync(
String^ id,
Delta<TData>^ patch
)
abstract UpdateAsync :
id:string *
patch:Delta<'TData> -> Task<'TData>
override UpdateAsync :
id:string *
patch:Delta<'TData> -> Task<'TData>
Protected Overridable Function UpdateAsync (
id As String,
patch As Delta(Of TData)
) As Task(Of TData)
Return Value
Type: System.Threading.Tasks.Task<TData>
A Task<TResult> representing the update operation executed by the the IDomainManager<TData>.
See Also
TableController<TData> Class
Microsoft.WindowsAzure.Mobile.Service Namespace
Return to top