db4o |

# ObjectContainer Interface

the interface to a db4o database, stand-alone or client/server.

For a list of all members of this type, see ObjectContainer Members.

com.db4o.ObjectContainer
com.db4o.ext.ExtClient
com.db4o.ext.ExtObjectContainer

public interface ObjectContainer : IDisposable

#### Remarks

the interface to a db4o database, stand-alone or client/server.
The ObjectContainer interface provides methods to store, query and delete objects and to commit and rollback transactions.
An ObjectContainer can either represent a stand-alone database or a connection to a openServer .
An ObjectContainer also represents a transaction. All work with db4o always is transactional. Both commit and rollback start new transactions immediately. For working against the same database with multiple transactions, open a db4o server with com.db4o.Db4o.openServer and openClient or openClient .

#### Requirements

Namespace: com.db4o

Assembly: db4o (in db4o.dll)

#### See Also

ObjectContainer Members | com.db4o Namespace | ExtObjectContainer for extended functionality.