Copy data from one existing data object to another.
Only properties that exist in both Data Classes are copied.
Namespace: Casewhere.Runtime.DSL.ApiAssembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.5.0
Syntaxvoid 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.
Examplevar dataApi = ctx.Use<IDataApi>();
dataApi.Copy(srcId, desId);
See Also