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


TypeNameComment
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


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

 

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.

Â