Share via


IDomainManager<TData>.UpdateAsync Method (String, Delta<TData>)

 

Updates an existing item by applying a Delta<TEntityType> patch to it. The Delta<TEntityType> abstraction keeps track of which properties have changed which avoids problems with default values and the like.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Tables
Assembly:  Microsoft.WindowsAzure.Mobile.Service.Tables (in Microsoft.WindowsAzure.Mobile.Service.Tables.dll)

Syntax

Task<TData> UpdateAsync(
    string id,
    Delta<TData> patch
)
Task<TData>^ UpdateAsync(
    String^ id,
    Delta<TData>^ patch
)
abstract UpdateAsync : 
        id:string *
        patch:Delta<'TData> -> Task<'TData>
Function UpdateAsync (
    id As String,
    patch As Delta(Of TData)
) As Task(Of TData)

Parameters

Return Value

Type: System.Threading.Tasks.Task<TData>

The patched item.

See Also

IDomainManager<TData> Interface
Microsoft.WindowsAzure.Mobile.Service.Tables Namespace

Return to top