Versions Compared

Key

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

...

 

Code Block
languagecpp
themeConfluence
EdmiError edmiRemoteDeleteModel(SdaiServerContext serverContextId,
                                  SdaiString        repositoryName, 
                                  SdaiString        modelName,
                                  SdaiInvocationId  *edmiInvocationId);


Deletes the model in a remote EDMdatabase

...

.

...

The model is uniquely identified in the remote EDMdatabase

...

  by its name and the name of the repository in which it is contained. The model must be closed before it may be deleted. Only the owner of a model may delete it.

...

A Dictionary model is a compiled Express Schema and may not be deleted from an EDMdatabase

...

if there exists one or more data models that use that particular schema as its underlying Express Schema. Neither may it be deleted if there exist Express-X dictionary models that use it as its source or target model. However, any belonging EDMquerySchema

...

, EDMruleSchema

...

and STEP Identifier model will be deleted.

...

Arguments

...

TypeNameComment
SdaiServerContext  

serverContextId

Context identification, from edmiDefineServerContext

 SdaiString

repositoryName

The name of the remote data repository that contains the model to be deleted. Repository names are case sensitive

 SdaiString

modelName

The name of the model to delete. Model names are case sensitive.

 SdaiInvocationId

edmiInvocationId

Currently not used.

...

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

 

Options

...

  

 

Example

...

 

Code Block
languagecpp
 EdmiError rstat;
 SdaiServerContext myContext;
  
 /* Create Server Context */
 rstat = edmiDefineServerContext("MyContext",

...


 "Johnny", "Supervisor", "cf37ftr",

...

 
 "TCP", "9090", "MyServerHost",

...

 
 NULL, NULL, NULL, NULL, NULL, &myContext);

...

 
  
 /* Delete MyModel */

...


 rstat = edmiRemoteDeleteModel(myContext, "DataRepository",

...


 "MyModel", NULL);

...

 
 . . .

 

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"