Click or drag to resize

IDataApiUpdate Method

Update an existing Data Object.

Namespace:  Casewhere.Runtime.DSL.Api
Assembly:  Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.1.0
Syntax
C#
void Update(
	string id,
	Object data
)

Parameters

id
Type: SystemString
Id of the Data Object to be updated.
data
Type: SystemObject
Data to be updated.
Examples
var dataApi = ctx.Use<IDataApi>();
dataApi.Update(orderId, new 
{
    Total = 20,
    BillingAddress = "123 Sunset Blvd"
});
See Also