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.1.0
Syntax
C#
void Copy(
	string srcId,
	string destId
)

Parameters

srcId
Type: SystemString
The source data object id.
destId
Type: SystemString
The destination data object id.
Examples
var dataApi = ctx.Use<IDataApi>();
dataApi.Copy(srcId, desId);
See Also