Description
Unique non-persistent identifier for this McDBNode.
-
Property type
-
A Long value.
-
Syntax
-
object.Handle
The Handle Property syntax has these parts: |
| object | An expression evaluating to an object of type McDBNode. | Remarks
This property is the absolute identifier for its McDBNode. However, the value of this property is NOT persistent. That is, the same McDBNode may have different values for Handle on different runs of the same program, unlike Id, which is persistent across runs.
Notes
This property is valuable if an absolute identity comparison is needed. That is, if two McDBNode objects are actually pointing to exactly the same object, and the object is in the same state. When McDBTransaction objects are used, the same McDBNode objects will be distinct in each transaction space, giving each a unique Handle. However, under the same circumstances, the Id will be the same for both McDBNode instances. (see the Example)
|