IFileConfiguration.

ReadOnly Property

Summary

turns readOnly mode on and off.

Syntax

bool ReadOnly { set; }

Remarks

turns readOnly mode on and off.

This method configures the mode in which subsequent calls to Db4objects.Db4o.Db4oEmbedded.OpenFile(Db4objects.Db4o.Config.IEmbeddedConfiguration,System.String) will open files.

Readonly mode allows to open an unlimited number of reading processes on one database file. It is also convenient for deploying db4o database files on CD-ROM.

Value

Type Description
bool true for configuring readOnly mode for subsequent calls to Db4objects.Db4o.Db4oFactory.OpenFile(System.String) . TODO: this is rather embedded + client than base?