Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »


 
SYNTAX:
 
xpfCreateInstanceAndPutAttrsExBN (modelId                         : GENERIC;
                                  qualifiedSchemaName             : STRING;
                                  entityNameOrViewEntityName      : STRING;
                                  numberOfAttributes              : INTEGER;
                                  attrName1                       : STRING;
                                  attrValue1                      : GENERIC;
                                  ...                 ...
                                  attrNameN                       : STRING;  
                                  attrValueN                      : GENERIC)
                                  newInstanceId                   : GENERIC;
 
This function can be used to create and populate persistent instances, scratch instances, volatile instances and view_entity instances (all kind of instances).
 
 Arguments:  
 

Argument

                                                      Description

modelId  

  • a specific modelId
  •  xpxTargetModelId : actual target model in an EDMmodelConverter operation, or the actual (default model) in an EDMquery operation or in an EDMvalidation operation.
  •  xpxSourceModelId, xpxSourceModel1Id, xpxSourceModel2Id, ... xpxSourceModel12Id : actual source model(s) in n an EDMmodelConverter operation.
  •  xpxVolatileModelId : model for ViewEntity instances and volatile instances and volatile aggregates
  •  xpxScratchModelId  : scratch model  

qualifiedSchemaName

ExpressSchemaName  or ExpressSchemaName.QuerySchemaName

entityNameOrViewEntityName

Entity or View Entity name

numberOfAttributes                   

Number of attributes

attrName1                                  

 Name of the first attribute

attrValue1

 value of the first attribute

attrNameN

Name of the last attribute

attrValueN

value of the last attribute

newInstanceId

Output of the function. The ID of the new Instance

 
  
 
 
 







  • No labels