Click or drag to resize

LiteDatabase Properties

The LiteDatabase type exposes the following members.

Properties
 NameDescription
Public propertyCheckpointSize 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
Public propertyCollation Get database collection (this options can be changed only in rebuild proces)
Public propertyFileStorage 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
Public propertyLimitSize Get/Set database limit size (in bytes). New value must be equals or larger than current database size
Public propertyMapper Get current instance of BsonMapper used in this database instance (can be BsonMapper.Global)
Public propertyTimeout Get/Set database timeout - this timeout is used to wait for unlock using transactions
Public propertyUserVersion Get/Set database user version - use this version number to control database change model
Public propertyUtcDate Get/Set if database will deserialize dates in UTC timezone or Local timezone (default: Local)
Top
See Also