Description

McDBTransaction objects may be nested. That is, by calling the Begin() method of already active McDBTransaction causes further actions to be tentative within an additional scoping level. This property returns the number of scoping/nesting levels encapsulated by this McDBTransaction. That is, this property's value is the number of times Commit must be called before the objects in memory (and/or changes to them) are written to their McDBDatabase(s).

Property type

A Long value.  

Syntax

object.Level

The Level Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDBTransaction.

Remarks

The NodeModified event does not fire until the McDBTransaction containing the relevant McDBNode is at Level 0. While the transaction is at a higher level, modifications to McDBNode objects will trigger NodeLocked events; and the NodeModified events will fire when the McDBTransaction is Committed to Level 0.