Summary
turns recovery mode on and off.
Recovery mode can be used to try to retrieve as much as possible out of an already corrupted database.
Recovery mode can be used to try to retrieve as much as possible out of an already corrupted database.
- Assembly
- Db4objects
.Db4o-2010 .dll - Namespace
- Db4objects
.Db4o .Config - Containing Type
- IConfiguration
Syntax
void RecoveryMode(bool flag)
Remarks
turns recovery mode on and off.
Recovery mode can be used to try to retrieve as much as possible out of an already corrupted database. In recovery mode internal checks are more relaxed. Null or invalid objects may be returned instead of throwing exceptions.
Use this method with care as a last resort to get data out of a corrupted database.
Recovery mode can be used to try to retrieve as much as possible out of an already corrupted database. In recovery mode internal checks are more relaxed. Null or invalid objects may be returned instead of throwing exceptions.
Use this method with care as a last resort to get data out of a corrupted database.
Parameters
Name | Type | Description |
---|---|---|
flag | bool | true to turn recover mode on. |
Return Value
Type | Description |
---|---|
void |