edmiDeleteSchema

EdmiError edmiDeleteSchema(SdaiString schemaName);

Deletes the specified dictionary model (Express schema) from the EDMdatabase. Only the owner of the dictionary model can delete it. A dictionary model cannot be deleted when data models (populations) of it exist in the database, i.e., all data models of the dictionary model must be deleted before this operation can be successfully performed.  A dictionary model cannot be deleted when it is used as a source schema or a target schema by any Express-X dictionary models, i.e., all Express-X dictionary models that is using the actual dictionary model as source schema or target schema must be deleted before this operation can be successfully performed. All EDMruleSchema and EDMquerySchema of the actual dictionary model will implicitly be deleted by this operation.

Arguments


TypeNameComment
SdaiString

schemaName

Specifies the name of the Express schema to delete. Schema names are case insensitive. The actual Express schema must exist as a dictionary model in the EDMdatabase.

Return Value


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

Options


 

Example


 

 EdmiError edmiDeleteSchema(SdaiString schemaName);

EdmiError rstat;
 ...
 if (rstat = edmiDeleteSchema("PDM_Schema")) {
 /* Error in operation */ 
 printf("\nError: %s in edmiDeleteSchema\n", 
 edmiGetErrorText(rstat)); 
 goto error; 
 }
 /* Specified Express schema is permanently deleted from database */ 

 

See also

Filter by label

There are no items with the selected labels at this time.