Click or drag to resize

IDataApiPush Method

Push data to an array attribute. This method is thread-safe.

Namespace:  Casewhere.Runtime.DSL.Api
Assembly:  Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.1.0
Syntax
C#
void Push(
	string id,
	string attributeName,
	params Object[] data
)

Parameters

id
Type: SystemString
The data object id.
attributeName
Type: SystemString
The attribute name.
data
Type: SystemObject
The pushed data.
Examples
var dataApi = ctx.Use<IDataApi>();
dataApi.Push(id, "Categories", "item1", "item2");
dataApi.Push(id, "Categories", new string[]{ "item1", "item2" });
See Also