...
Code Block | ||||
---|---|---|---|---|
| ||||
SdaiBoolean edmiIsVolatileInstance (SdaiAppInstance currInst);
|
Checks if the specified instance is a volatile instance. Volatile instances are created by the EDMexpressVM as result of reading a Derive attribute, invoking an EDMquery function or running other "programs" in EDMexpressVM.
...
Volatile instances are never persistent in an EDMdatabase.
...
In this operation an instance means both entity instance and aggregate instance.
...
Arguments
...
Type | Name | Comment |
SdaiAppInstance | currInst | Specifies a numeric instanceID that uniquely identifies an application instance in the EDMdatabase. |
...
Return Value
...
Type | Comment |
SdaiBoolean | sdaiTRUE when the instance is a volatile one, otherwise sdaiFALSE. |
...
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
SdaiAppInstance currInst; SdaiBoolean isVolatile; . . . isVolatile = edmiIsVolatileInstance(currInst); |
...
if (isVolatile == sdaiTRUE) { |
...
printf("\nInstance: %lu is a volatile instance", currInst); |
...
} else { |
...
printf("\nInstance: %lu is not a volatile instance", currInst); |
...
}
. . . |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|