...
Code Block | ||||
---|---|---|---|---|
| ||||
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:
...
Argument
...
Description
...
Arguments
...
Type | Name | Comment | |||||
GENERIC | modelId | a specific modelId | xpxTargetModelId
| xpxSourceModelId
| xpxVolatileModelId
| xpxScratchModelId
| model
|
STRING | qualifiedSchemaName | ExpressSchemaName or ExpressSchemaName.QuerySchemaName | |||||
STRING | entityNameOrViewEntityName | Entity or View Entity name | |||||
INTEGER | numberOfAttributes | Number of attributes | |||||
STRING | attrName1 | Name | Name of the | firstattribute | |||
GENERIC | attrValue1 | valuevalue of | the first attribute|||||
attrNameN | Name of the last attribute | ||||||
attrValueN | value of the last attribute | ||||||
newInstanceId | Output of the function. the attribute |
Return Value
...
Type | Name | Comment |
GENERIC | newInstanceId | The ID of the new Instance |
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
<Missing Example> |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|