edmiIsVolatileInstance

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


TypeNameComment
SdaiAppInstancecurrInstSpecifies a numeric instanceID that uniquely identifies an application instance in the EDMdatabase.

Return Value


TypeComment
 SdaiBoolean sdaiTRUE when the instance is a volatile one, otherwise sdaiFALSE.

Options


 

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); 
 }
 . . .

 

See also

Filter by label

There are no items with the selected labels at this time.

Â