xpfCreateInstanceAndPutAttrsExBN

FUNCTION 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


TypeNameComment
GENERICmodelId

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                                            

 

STRINGqualifiedSchemaNameExpressSchemaName  or ExpressSchemaName.QuerySchemaName
STRINGentityNameOrViewEntityNameEntity or View Entity name
INTEGERnumberOfAttributesNumber of attributes
STRINGattrName1Name of the attribute
GENERICattrValue1value of the  attribute

Return Value


 

TypeNameComment
GENERICnewInstanceIdThe ID of the new Instance

Options


 

Example


<Missing Example>

 

See also

Filter by label

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

Â