db4o

IExtObjectContainer.GetByID Method 

returns the stored object for an internal ID.

object GetByID(
   long ID
);

Parameters

ID
the internal ID

Return Value

the object associated with the passed ID or

null
, if no object is associated with this ID in this
ObjectContainer
.

Remarks

returns the stored object for an internal ID.

This is the fastest method for direct access to objects. Internal IDs can be obtained with getID(Object) . Objects will not be activated by this method. They will be returned in the activation state they are currently in, in the local cache.

See Also

IExtObjectContainer Interface | Db4objects.Db4o.Ext Namespace | Why activation?