<xml></xml>

Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++ Members: Show All Members: Filtered Members: Filtered Members: Filtered

Berkeley DB .NET API Documentation
BaseDatabase Properties
BaseDatabase Class See Also Send Feedback

The BaseDatabase type exposes the following members.

# Properties

| Name | Description
--- | --- | ---
| AutoCommit | If true, all database modification operations based on this object will be transactionally protected.
| CacheSize | The size of the shared memory buffer pool (the cache).
| Creation | The CreatePolicy with which this database was opened.
| DatabaseName | The name of this database, if it has one.
| DoChecksum | If true, do checksum verification of pages read into the cache from the backing filestore.
| EncryptAlgorithm | The algorithm used by the Berkeley DB library to perform encryption and decryption.
| Encrypted | If true, encrypt all data stored in the database.
| Endianness | The database byte order.
| ErrorFeedback | The mechanism for reporting detailed error messages to the application.
| ErrorPrefix | The prefix string that appears before error messages issued by Berkeley DB.
| Feedback | Monitor progress within long running operations.
| FileName | The filename of this database, if it has one.
| FreeThreaded | If true, the object is free-threaded; that is, concurrently usable by multiple threads in the address space.
| HasMultiple | If true, the object references a physical file supporting multiple databases.
| InHostOrder | If true, the underlying database files were created on an architecture of the same byte order as the current one. This information may be used to determine whether application data needs to be adjusted for this architecture or not.
| NoMMap | If true, this database is not mapped into process memory. See MMapSize for further information.
| NonDurableTxns | If true, Berkeley DB will not write log records for this database.

NoWaitDbExclusiveLock

If true, configure the database handle to obtain a write lock on the entire database. When the database is opened it will immediately throw LockNotGrantedException if it cannot obtain the exclusive lock immediately. If False, configure the database handle to obtain a write lock on the entire database. When the database is opened, it will block until it can obtain the exclusive lock. If null, do not configure the database handle to obtain a write lock on the entire database.

| Pagesize | The database's current page size.
| Priority | The cache priority for pages referenced by this object.
| ReadOnly | If true, this database has been opened for read only. Any attempt to modify items in the database will fail, regardless of the actual permissions of any underlying files.
| ReadUncommitted | If true, this database supports transactional read operations with degree 1 isolation. Read operations on the database may request the return of modified but not yet committed data.
| Transactional | If true, this database has been opened in a transactional mode.
| Truncated | If true, the underlying file was physically truncated upon open, discarding all previous databases it might have held.
| Type | The type of the underlying access method (and file format). This value may be used to determine the type of the database after an Open(String, DatabaseConfig).
| UseMVCC | If true, the database was opened with support for multiversion concurrency control.

# See Also

BaseDatabase Class
BerkeleyDB Namespace