edmiDeleteAllScratchInstancesOfSchemaBN
EdmiError edmiDeleteAllScratchInstancesOfSchemaBN(SdaiSchema schemaName);
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 | schemaName | Name of an Express schema existing as a dictionary model in an EDMdatabase. All scratch instances defined by entities in the <schemaName> Express schema will be permanently deleted. Schema names are case insensitive. |
Return Value
Options
Example
EdmiError rstat; ... if (rstat = edmiDeleteAllScratchInstancesOfSchemaBN ("Pdm_Schema")) { /* 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.