edmiMoveModel

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


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

Options


 

Example


 

 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

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

Â