The C# Database Class Constants

For an overview see page C# Classes

Constants


    /// Automatically perform cleanup of a disk database after a crash. (remove
    /// all working copies.) (This is appropriate only if using the MVCC
    /// transaction manager.)
    public const int DB_MODE_MVCC_AUTO_REPAIR       = 0x01;

    public const int DB_MODE_SMART_INDEX_INSERT     = 0x2;
    public const int DB_OPEN_EXISTING               = 0x04;
    public const int DB_USE_CRC_CHECK               = 0x08;
    public const int DB_TRANSIENT                   = 0x10;
    public const int DB_LAZY_MEM_INITIALIZATION     = 0x20;
    public const int DB_MURSIW_DISK_COMMIT_OPTIMIZATION = 0x40;
    public const int DB_BULK_WRITE_MODIFIED_PAGES   = 0x80;
    public const int DB_BTREE_HOLD_LOCKS            = 0x0100;
    public const int DB_INDEX_PRELOAD               = 0x0200;
    public const int DB_DISABLE_NESTED_TRANSACTIONS = 0x0400;
    public const int DB_DISABLE_IMPLICIT_ROLLBACK   = 0x0800;
    public const int DB_INMEMORY_PROTECTION         = 0x1000;
    public const int DB_INCLUSIVE_BTREE             = 0x2000;
    public const int DB_INMEMORY_COMPRESSION        = 0x4000;
    public const int DB_SEPARATE_BITMAP             = 0x8000;
    public const int DB_DISABLE_BTREE_REBALANCE_ON_DELETE = 0x10000;
    public const int DB_AUTO_ROLLBACK_FIRST_PHASE   = 0x20000;
    public const int DB_MVCC_COMPATIBILITY_MODE     = 0x40000;
    public const int DB_DISABLE_PAGE_POOL_RESERVE   = 0x80000;
    public const int DB_REDO_LOG_OPTIMIZATION       = 0x100000;
    public const int DB_DISABLE_HOT_UPDATES         = 0x200000;
    public const int DB_SQL_AUTOCHECKPOINT          = 0x400000;
    public const int DB_MODE_READ_ONLY              = 0x800000;
    public const int DB_USE_AIO                     = 0x1000000;
    public const int DB_INCREMENTAL_BACKUP_ENABLED  = 0x2000000;
    public const int DB_INCREMENTAL_BACKUP_PROCESSING = 0x4000000;
    public const int DB_MVCC_TABLE_LEVEL_LOCKING    = 0x8000000;
    public const int DB_DISABLE_SMART_ALLOC         = 0x10000000;
    public const int DB_DISABLE_DISK_SPACE_RESERVE  = 0x20000000;
    public const int DB_USE_ALLOCATION_MAP          = 0x40000000;

    /// Multibyte string encoding. (This can be used in Parameters.StringEncoding
    /// and Encoding attribute.)
    public const String MULTIBYTE_ENCODING = "UTF-8";

    /// Wide character string encoding. (This can be used in
    /// Parameters.StringEncoding and Encoding attribute.)
    public const String WIDE_CHARACTER_ENCODING = "UTF-16";

    /// Runtime options.
    public const int RT_OPTION_EXTHEAPS           = 0;
    public const int RT_WINDOWS_SHM_OPT           = 1;
    public const int RT_OPTION_MARK_LAST_OBJ      = 2;
    public const int RT_OPTION_UNIX_SHM_MASK      = 3;
    public const int RT_POSIX_SHM_OPT             = 4;
    public const int RT_CRC_ALGORITHM             = 5;
    public const int RT_MAX_PATRICIA_DEPTH        = 6;
    public const int RT_MAX_DYNAMIC_PIPES         = 7;
    public const int RT_OPTION_CLASS_LOAD_MERGE   = 8;
    public const int RT_OPTION_DATETIME_PRECISION = 9;

    public const int BACKUP_FLAG_COMPRESSED = 1;
    public const int BACKUP_FLAG_ENCRYPTED  = 2;

    public const int CLUSTER_NOTIFY_NODE_CONNECT = 0;
    public const int CLUSTER_NOTIFY_NODE_DISCONNECT = 1;

    public const int SOCK_INET_DOMAIN  = 0;
    public const int SOCK_LOCAL_DOMAIN = 1;
    public const int SOCK_SDP_DOMAIN   = 2;

    public const int CLUSTER_MPI_BUSYWAIT         = 0x1;
    public const int CLUSTER_MPI_SERIALIZED_SEND  = 0x2;

    public const int CLUSTER_MODE_DEBUG_OUTPUT     = 0x1;
    public const int CLUSTER_MODE_EARLY_DATA_SEND  = 0x2;
    public const int CLUSTER_MODE_BINARY_EVOLUTION = 0x4;