...
Code Block | ||||
---|---|---|---|---|
| ||||
FUNCTION xpxCreateInstanceAndPutAttrsBN(modelId : GENERIC;
entityName : STRING;
VAR newInstanceId : GENERIC;
NumberOfAttributes : INTEGER;
attrName1 : STRING;
attrValue1 : GENERIC;
...
attrNameN : STRING;
attrValueN : GENERIC)
status : INTEGER;
|
The xpxCreateInstanceAndPutAttrsBN function creates an entity instance and optionally set the specified attribute values of the created instance. Hence this operation is a combination of xpxCreateInstanceBN and xpxPutAttrsBN operations.
This operation is only applicable to data models.
The actual data model must be open for write access, before this operation can be successfully performed.
This function is equivalent to the EDMinterface function edmiCreateInstanceAndPutAttrsBN.
Arguments
...
1 | Type | Name | Comment |
2 | GENERIC | modelId | comment |
3 | STRING | entityName | |
4 | GENERIC | newInstanceId | |
5 | INTEGER | NumberOfAttributes | |
6 | STRING | attrName(N) | |
7 | GENERIC | attrValue(N) |
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
<Missing Example> |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|