edmiDeleteAllScratchInstancesOfSchema
EdmiError edmiDeleteAllScratchInstancesOfSchema(SdaiSchema schemaId);
Delete all scratch instances of the specified schema, i.e., all scratch instances of entities defined in the actual Express schema. Scratch instances are volatile instances that will never be written to the persistent EDMdatabase. No persistent instances can have relations to a scratch instance, but a scratch instance can have relations to persistent instances. Scratch instances belongs to a session, hence scratch instances cannot be shared by concurrent users of an EDMdatabase. All scratch instances created in a session will be permanently deleted when the actual session is closed or the database is closed.
Arguments
Type | Name | Comment |
SdaiSchema | schemaId | A numeric schemaID that uniquely identifies an Express schema in an EDMdatabase. All scratch instances defined by entities in the <schemaId> Express schema will be deleted. The schemaID is retrieved by the edmiGetSchema operation. |
Return Value
Â
Options
 Â
Â
Example
Â
 EdmiError rstat; SdaiSchema schemaId; ... if (rstat = edmiDeleteAllScratchInstancesOfSchema (schemaId)) { /* Error in operation */ printf("\nError in edmiDeleteAllScratchInstancesOfSchema: %s\n", edmiGetErrorText(rstat)); goto error; } . . .
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â