binds an object to an internal object ID.
binds an object to an internal object ID.
This method uses the ID parameter to load the correspondig stored object into memory and replaces this memory reference with the object parameter. The method may be used to replace objects or to reassociate an object with it's stored instance after closing and opening a database file. A subsequent call to set(Object) is necessary to update the stored object.
Requirements:
- The ID needs to be a valid internal object ID, previously retrieved with getID(Object) .
- The object parameter needs to be of the same class as the stored object.
IExtObjectContainer Interface | Db4objects.Db4o.Ext Namespace | Db4objects.Db4o.Ext.IExtObjectContainer.GetID