edmiRemoteGetSchemaMap

EdmiError edmiRemoteGetSchemaMap(SdaiServerContext serverContextId,
                                   SdaiString        schemaMapName, 
                                   SdaiSchemaMap     *schemaMapId,
                                   SdaiInvocationId  *edmiInvocationId);


Returns the numeric schemaMapID that uniquely identifies a compiled Express-X Mapping Schema in the remote EDMdatabase

Arguments


TypeNameComment
SdaiServerContext

serverContextId

Context identification, from edmiDefineServerContext

SdaiString

schemaMapName

Specifies the name of Express-X Mapping Schema for which to retrieve its schemaMapId. The Express-X Mapping Schema must be compiled to form an Express-X dictionary model in the remote  EDMdatabase  Express-X Mapping Schema names are case insensitive and unique within the scope of an  EDMdatabase

SdaiSchemaMap

schemaMapId

A variable that will receive the numeric schemaMapID that uniquely identifies a compiled Express-X Mapping Schema within a remote EDMdatabase

SdaiInvocationId

edmiInvocationId

Currently not used.

Return Value


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

 

Options


  

 

Example


 

 EdmiError rstat;
 SdaiInteger nErr, nWrn;
 SdaiServerContext myContext;
 SdaiSchemaMap schMapId;
  
 /* Define Remote Server Context */
 rstat = edmiDefineServerContext("MyRemoteServerContext",
 "Johnny", "Supervisor", "cf37ftr", 
 "TCP", "9090", "MyServerHost", 
 NULL, NULL, NULL, NULL, NULL, &myContext); 
  
 /* Compile the Express Schema */
 rstat = edmiRemoteDefineSchema(myContext, EXPRESS_SCHEMA_TYPE,
 "c:/data/furniture.exp", "c:/temp/furniture.dia",  
 "Furniture", 0, &nWrn, &nErr, NULL); 
  
 /* Compile a Mapping Schema */
 rstat = edmiRemoteDefineSchema(myContext, EXPRESS_X_SCHEMA_TYPE,
 "c:/data/furniture_map.xpx", "c:/temp/furniture_map.dia", 
 "Furniture_Map", 0, &nWrn, &nErr, NULL); 
  
 /* Get the Mapping Schema Id */
 rstat = edmiRemoteGetSchemaMap(myContext, "Furniture_Map",
 &schMapId, NULL); 
 . . .

 

See also

Filter by label

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

Â