db4o

IObjectContainer.Close Method 

closes this IObjectContainer.

bool Close();

Return Value

success - true denotes that the last used instance of this container and the database file were closed.

Remarks

closes this IObjectContainer.

A call to Close() automatically performs a Commit() .

Note that every session opened with Db4o.OpenFile() requires one Close()call, even if the same filename was used multiple times.

Use

while(!Close()){}
to kill all sessions using this container.

See Also

IObjectContainer Interface | Db4objects.Db4o Namespace