Click or drag to resize

IDataApiCopy Method

Copy data from one existing data object to another. Only properties that exist in both Data Classes are copied.

Namespace: Casewhere.Runtime.DSL.Api
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.5.0
Syntax
C#
void Copy(
	string srcId,
	string destId,
	bool notifyChange = true
)

Parameters

srcId  String
The source data object id.
destId  String
The destination data object id.
notifyChange  Boolean  (Optional)
Skip the data change notification when updating data.
Example
C#
var dataApi = ctx.Use<IDataApi>();
dataApi.Copy(srcId, desId);
See Also