Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
themeConfluence
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

...

TypeNameComment
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

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

 

Options

...

  

 

Example

...

 

Code Block
languagecpp
 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 (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"