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.
Related functions: edmiClassifyInstance , sdaiDeleteInstance , sdaiDeleteAggr
Header:
#include "sdai.h"
Prototype:
SdaiBoolean edmiIsVolatileInstance (SdaiAppInstance currInst);
Arguments:
currInst |
Specifies a numeric instanceID that uniquely identifies an application instance in the EDMdatabase. |
Returns:
sdaiTRUE when the instance is a volatile one, otherwise sdaiFALSE.
EXAMPLE
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);
}
. . .