SecondaryDatabaseConfig Members

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

C#
Visual Basic
Visual C++
Include Protected Members
Include Inherited Members

Berkeley DB .NET API Documentation
SecondaryDatabaseConfig Members
SecondaryDatabaseConfig Class Constructors Methods Fields Properties See Also Send Feedback

The SecondaryDatabaseConfig type exposes the following members.

# Constructors

| Name | Description
--- | --- | ---
| SecondaryDatabaseConfig | Instantiate a new SecondaryDatabaseConfig object, with the default configuration settings.

# Methods

| Name | Description
--- | --- | ---
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetType | Gets the type of the current instance. (Inherited from Object.)
| SetEncryption | Set the password and algorithm used by the Berkeley DB library to perform encryption and decryption. (Inherited from DatabaseConfig.)
| SetForeignKeyConstraint | Overloaded.
| ToString | Returns a string that represents the current object. (Inherited from Object.)

# Fields

| Name | Description
--- | --- | ---
| AutoCommit | Enclose the open call within a transaction. If the call succeeds, the open operation is recoverable and all subsequent database modification operations based on this handle will be transactionally protected. If the call fails, no database has been created. (Inherited from DatabaseConfig.)
| ByteOrder | The byte order for integers in the stored database metadata. The host byte order of the machine where the Berkeley DB library was compiled is the default value. (Inherited from DatabaseConfig.)
| CacheSize | The size of the shared memory buffer pool (the cache). (Inherited from DatabaseConfig.)
| DoChecksum | If true, do checksum verification of pages read into the cache from the backing filestore. (Inherited from DatabaseConfig.)
| Env | The Berkeley DB environment within which to create a database. If null, the database is created stand-alone; it is not part of any Berkeley DB environment. (Inherited from DatabaseConfig.)
| ErrorFeedback | The mechanism for reporting error messages to the application. (Inherited from DatabaseConfig.)
| ErrorPrefix | The prefix string that appears before error messages issued by Berkeley DB. (Inherited from DatabaseConfig.)
| Feedback | (Inherited from DatabaseConfig.)
| FreeThreaded | Causes the database object to be free-threaded; that is, concurrently usable by multiple threads in the address space. (Inherited from DatabaseConfig.)
| ImmutableKey | If true, the secondary key is immutable.
| NoMMap | Do not map this database into process memory. (Inherited from DatabaseConfig.)
| NonDurableTxns | If true, Berkeley DB does not write log records for this database. (Inherited from DatabaseConfig.)
| NoWaitDbExclusiveLock | Configuration of BaseDatabase handle to obtain a write lock on the entire database. (Inherited from DatabaseConfig.)
| Populate | If true and the secondary database is empty, walk through Primary and create an index to it in the empty secondary. This operation is potentially very expensive.
| Priority | The cache priority for pages referenced by the database. (Inherited from DatabaseConfig.)
| ReadOnly | Open the database for reading only. Any attempt to modify items in the database will fail, regardless of the actual permissions of any underlying files. (Inherited from DatabaseConfig.)
| ReadUncommitted | Support transactional read operations with degree 1 isolation. (Inherited from DatabaseConfig.)
| Truncate | Physically truncate the underlying file, discarding all previous databases it might have held. (Inherited from DatabaseConfig.)
| UseMVCC | Open the database with support for multiversion concurrency control. (Inherited from DatabaseConfig.)

# Properties

| Name | Description
--- | --- | ---
| EncryptAlgorithm | The algorithm used to perform encryption and decryption. (Inherited from DatabaseConfig.)
| Encrypted | Encrypt the database using the cryptographic password specified by DatabaseConfig.SetEncryption or DatabaseEnvironmentConfig.SetEncryption. (Inherited from DatabaseConfig.)
| EncryptionPassword | The password used to perform encryption and decryption. (Inherited from DatabaseConfig.)
| ForeignKeyDatabase | The database used to check the foreign key integrity constraint.
| ForeignKeyNullfier | The nullifying function used to set the foreign key to null.
| KeyGen | The delegate that creates the set of secondary keys corresponding to a given primary key and data pair.
| OnForeignKeyDelete | The action taken when a referenced record in ForeignKeyDatabase is deleted.
| PageSize | The size of the pages used to hold items in the database, in bytes. (Inherited from DatabaseConfig.)
| Primary | All updates to the primary database are automatically reflected in the secondary and all reads from the secondary return corresponding data from Primary.

# See Also

SecondaryDatabaseConfig Class
BerkeleyDB Namespace