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.5.0
Syntax
C#
void Push(
	string id,
	string attributeName,
	params Object[] data
)

Parameters

id  String
The data object id.
attributeName  String
The attribute name.
data  Object
The pushed data.
Example
C#
var dataApi = ctx.Use<IDataApi>();
dataApi.Push(id, "Categories", "item1", "item2");
dataApi.Push(id, "Categories", new string[]{ "item1", "item2" });
See Also