edmiCreateRepository


 

EdmiError edmiCreateRepository(SdaiString     repositoryName,
                                SdaiRepository *repositoryId); 

Creates a persistent data repository in the EDMdatabase. A data repository is a container for data models. Any number of data repositories can be created in an EDMdatabase.

Arguments


TypeNameComment
SdaiString

repositoryName

Specifies the name of the repository to be created in the EDMdatabase. Repository names are case sensitive. A repository name must be unique within one EDMdatabase.

SdaiRepository

repositoryId

A numeric repositoryID that uniquely identifies the created repository in the 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;
 SdaiRepository repositoryId;
 ...
 if (rstat = edmiCreateRepository("myRepository", &repositoryId)) {
 /* Error in operation */ 
 printf("\nError in edmiCreateRepository: %s\n", 
 edmiGetErrorText(rstat)); 
 goto error; 
 }
 ...

 

See also

Filter by label

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

Â