Versions Compared

Key

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

...

 

Code Block
languagecpp
themeConfluence
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. Related functions: edmiDeleteModelContents , sdaiCreateModel , sdaiCreateModelBN , edmiCreateModel , edmiCreateModelBN , sdaiDeleteModel , edmiDeleteModel , edmiDeleteModelBN .
Header:
#include "sdai.h"
Prototype:
EdmiError edmiDeleteModelContentsBN(SdaiString repositoryName,
                                     SdaiString modelName); 
Arguments:

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

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

Example

...

 

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