...
SYNTAX:
xpfCreateInstanceAndPutAttrsBN (modelId : GENERIC; entityName : STRING; numberOfAttributes : INTEGER; attrId1 : GENERIC; attrValue1 : GENERIC; ... ... attrIdN : GENERIC; attrValueN : GENERIC) newInstanceId : GENERIC;
To be completed.
The xpfCreateInstanceAndPutAttrsBN
Code Block | ||||
---|---|---|---|---|
| ||||
FUNCTION xpfCreateInstanceAndPutAttrsBN (modelId : GENERIC;
entityName : STRING;
numberOfAttributes : INTEGER;
attrName1 : STRING; attrValue1 : GENERIC;
... ...",
attrNameN STRING; attrValueN : GENERIC)
newInstanceId : GENERIC;
|
The xpfCreateInstanceAndPutAttrs function creates an entity instance and optionally set the specified attribute values of the created instance. Hence this operation is a combination of xpfCreateInstanceBN xpfCreateInstance and xpxPutAttrsBN xpxPutAttrs operations. The instanceID of the created instance is returned by the function in the argument <newInstanceId>.
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.
See also xpxCreateInstanceAndPutAttrsBN.
Arguments
...
Type | Name | Comment |
GENERIC | modelId | comments |
STRING | entityName | |
INTEGER | numberOfAttributes | |
STRING | attrName1 | |
GENERIC | attrValue1 |
Return Value
...
Type | Name | Comment |
GENERIC | newInstanceId | comments |
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
<Missing Example> |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|