db4o

IExtObjectContainer Members

IExtObjectContainer overview

Public Instance Methods

Backupbacks up a database file of an open ObjectContainer.
Bindbinds an object to an internal object ID.
Collections returns the Db4objects.Db4o.Types.IDb4oCollections interface to create or modify database-aware collections for this Db4objects.Db4o.IObjectContainer .

Configurereturns the Configuration context for this ObjectContainer.
Descendreturns a member at the specific path without activating intermediate objects.
GetByIDreturns the stored object for an internal ID.
GetByUUID returns a stored object for a Db4objects.Db4o.Ext.Db4oUUID .

This method is intended for replication and for long-term external references to objects. To get a Db4objects.Db4o.Ext.Db4oUUID for an object use Db4objects.Db4o.Ext.IExtObjectContainer.GetObjectInfo and Db4objects.Db4o.Ext.IObjectInfo.GetUUID .

Objects will not be activated by this method. They will be returned in the activation state they are currently in, in the local cache.

GetIDreturns the internal unique object ID.
GetObjectInfo returns the Db4objects.Db4o.Ext.IObjectInfo for a stored object.

This method will return null, if the passed object is not stored to this
ObjectContainer
.

Identityreturns the Db4oDatabase identity object for this ObjectContainer.
IsActivetests if an object is activated.
IsCachedtests if an object with this ID is currently cached.
IsClosedtests if this
ObjectContainer
is closed.
IsStoredtests if an object is stored in this
ObjectContainer
.
KnownClasses returns all class representations that are known to this ObjectContainer because they have been used or stored.
Lockreturns the main synchronisation lock.
MigrateFromaids migration of objects between ObjectContainers.
PeekPersisted returns a transient copy of a persistent object with all members set to the values that are currently stored to the database.
PurgeOverloaded. unloads all clean indices from memory and frees unused objects.
ReflectorReturn the reflector currently being used by db4objects.
Refreshrefreshs all members on a stored object to the specified depth.
ReleaseSemaphorereleases a semaphore, if the calling transaction is the owner.
ReplicationBegin prepares for replication with another Db4objects.Db4o.IObjectContainer .

An Db4objects.Db4o.IObjectContainer can only be involved in a replication process with one other Db4objects.Db4o.IObjectContainer at the same time.

The returned Db4objects.Db4o.Replication.IReplicationProcess interface provides methods to commit and to cancel the replication process.

This ObjectContainer will be "peerA" for the returned ReplicationProcess. The other ObjectContainer will be "peerB".
Setdeep update interface to store or update objects.
SetSemaphoreattempts to set a semaphore.
StoredClass returns a Db4objects.Db4o.Ext.IStoredClass meta information object.

There are three options how to use this method.
Any of the following parameters are possible:
- a fully qualified classname.
- a Class object.
- any object to be used as a template.

StoredClasses returns an array of all Db4objects.Db4o.Ext.IStoredClass meta information objects.
SystemInfo returns the Db4objects.Db4o.Ext.ISystemInfo for this ObjectContainer.

The Db4objects.Db4o.Ext.ISystemInfo supplies methods that provide information about system state and system settings of this ObjectContainer.
Versionreturns the current transaction serial number.

See Also

IExtObjectContainer Interface | Db4objects.Db4o.Ext Namespace