Click or drag to resize

IDataApiLoad Method (String)

Load a Data Object by id.

Namespace:  Casewhere.Runtime.DSL.Api
Assembly:  Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.1.0
Syntax
C#
DynamicDataObject Load(
	string id
)

Parameters

id
Type: SystemString
Id of the Data Object to be loaded.

Return Value

Type: DynamicDataObject
The Data Object.
Examples
var dataApi = ctx.Use<IDataApi>();
var department = dataApi.Load(departmentId);
Log.Info(department.Name);
See Also