Click or drag to resize

ITestApiCreate(String, String) Method

Create a Dummy Data Object and persist it to the database. The system will automatically clean up the data object after the test is finished

Namespace: Casewhere.Runtime.DSL.Api
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.5.0
Syntax
C#
string Create(
	string dataClassName,
	string registerName = null
)

Parameters

dataClassName  String
The Data Class name.
registerName  String  (Optional)
Optional name of sharing data stored in memory.

Return Value

String
The Id data object just created.
Example
C#
var testApi = ctx.Use<ITestApi>();
var doId = testApi.Create("TestSampleData");
See Also