Update an existing Data Object.
Namespace: Casewhere.Runtime.DSL.ApiAssembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.5.0
Syntaxvoid Update(
string id,
Object data,
bool notifyChange = true
)
Parameters
- id String
- Id of the Data Object to be updated.
- data Object
- Data to be updated.
- notifyChange Boolean (Optional)
- Skip the data change notification when updating data.
Examplevar dataApi = ctx.Use<IDataApi>();
dataApi.Update(orderId, new
{
Total = 20,
BillingAddress = "123 Sunset Blvd"
});
See Also