Versions Compared

Key

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

...

Code Block
languagecpp
themeConfluence
EdmiError edmiMoveModel(SdaiModel      modelId,
                        SdaiRepository repositoryId); 

Moves the specified data model to the specified repository.

...

The specified data model must be closed before this operation can be successfully performed. The source repository must be open and the target repository must be open for write access, before this function can be successfully performed.

...

Arguments

...



TypeNameComment
SdaiModel

modelId

A numeric modelID that uniquely identifies the data model of interest in the EDMdatabase.

  The modelID is returned from the functions: sdaiCreateModel , sdaiCreateModelBN , sdaiOpenModelBN , edmiGetModel , edmiGetModelBN , sdaiGetInstanceModel

SdaiRepository

repositoryId

A numeric repositoryID that uniquely identifies the target repository .

  The repositoryID is returned by the following operations: sdaiOpenRepository , sdaiOpenRepositoryBN ,edmiOpenRepository , edmiOpenRepositoryBN , edmiGetRepository.

...

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

Example

...

 

Code Block
languagecpp
 SdaiRepository repositoryId;
 SdaiModel modelId;
 EdmiError rstat;
 . . .
 if (rstat = edmiMoveModel (modelId, repositoryId)) {
 /* Error in operation */ 
 printf("\nError: %s in edmiMoveModel \n",

...

 
 edmiGetErrorText(rstat));

...

 
 goto error;

...

 
 }
 . . .

 

See also

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