IDataApiUpdateMany(String, Object, Boolean) Method
|
Updates multiple existing data objects based on an array of IDs with patch data.
Namespace: Casewhere.Runtime.DSL.ApiAssembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.5.0
Syntaxvoid UpdateMany(
string[] doIds,
Object patchData,
bool notifyChange = true
)
Parameters
- doIds String
- An array of IDs representing the data objects to be updated.
- patchData Object
- Data to be updated.
- notifyChange Boolean (Optional)
- Skip the data change notification when updating data.
Examplevar dataApi = ctx.Use<IDataApi>();
dataApi.UpdateMany(new string[] { "doId1", "doId2" }, new
{
Total = 20,
BillingAddress = "123 Sunset Blvd"
});
See Also