edmiDeleteModelContentsBN


 

EdmiError edmiDeleteModelContentsBN(SdaiString repositoryName,
                                     SdaiString modelName); 

Deletes the content of the specified model, i.e., the actual model will have exactly the same contents after this function is executed as immediately after the model is created by any of the following operations: sdaiCreateModel , sdaiCreateModelBN , edmiCreateModel or edmiCreateModelBN. This function is only applicable to data models. The actual data model must be open for write access before this command can be successfully executed.

Arguments


TypeNameComment
SdaiString 
repositoryName
Specifies the name of the data repository that hosts the data model to delete the contents of. Repository names are case sensitive.
SdaiString

modelName

Specifies the name of the model to delete the contents of. Model names are case sensitive. A model name is unique in a repository, hence the combination of the arguments <repositoryName> and <modelName> uniquely identifies a model in an EDMdatabase.

Return Value


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

Options


 

Example


 

 EdmiError rstat;
 SdaiModel model;
 ...
 if (rstat = edmiDeleteModelContentsBN ("DataRepository",
 "Bumper_AAXC956H")) { 
 /* Error in operation */ 
 printf("\nError in edmiDeleteModelContentsBN: %s\n", 
 edmiGetErrorText(rstat)); 
 goto error; 
 }
 . . .

 

See also

Filter by label

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