[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

opens an Db4objects.Db4o.IObjectContainer for in-memory use .

In-memory ObjectContainers are useful for maximum performance on small databases, for swapping objects or for storing db4o format data to other media or other databases.

Be aware of the danger of running into OutOfMemory problems or complete loss of all data, in case of hardware or JVM failures.

Namespace: Db4objects.Db4o.Ext
Assembly:   Db4objects.Db4o (in Db4objects.Db4o.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function OpenMemoryFile ( _
	config As IConfiguration, _
	memoryFile As MemoryFile _
) As IObjectContainer
C#
public static IObjectContainer OpenMemoryFile (
	IConfiguration config,
	MemoryFile memoryFile
)
Visual C++
public:
static IObjectContainer^ OpenMemoryFile (
	IConfiguration^ config, 
	MemoryFile^ memoryFile
)

Parameters

config
Db4objects.Db4o.Config.IConfiguration
a custom Configuration instance to be obtained via Db4objects.Db4o.Db4oFactory.NewConfiguration
memoryFile
Db4objects.Db4o.Ext.MemoryFile
a MemoryFile to store the raw byte data.

Return Value

an open ObjectContainer

See Also