Lite |
The LiteDatabase type exposes the following members.
| Name | Description | |
|---|---|---|
| CheckpointSize | Get/Set in how many pages (8 Kb each page) log file will auto checkpoint (copy from log file to data file). Use 0 to manual-only checkpoint (and no checkpoint on dispose) Default: 1000 pages | |
| Collation | Get database collection (this options can be changed only in rebuild proces) | |
| FileStorage | Returns a special collection for storage files/stream inside datafile. Use _files and _chunks collection names. FileId is implemented as string. Use "GetStorage" for custom options | |
| LimitSize | Get/Set database limit size (in bytes). New value must be equals or larger than current database size | |
| Mapper | Get current instance of BsonMapper used in this database instance (can be BsonMapper.Global) | |
| Timeout | Get/Set database timeout - this timeout is used to wait for unlock using transactions | |
| UserVersion | Get/Set database user version - use this version number to control database change model | |
| UtcDate | Get/Set if database will deserialize dates in UTC timezone or Local timezone (default: Local) |