---
title: Configure DataAccess and DDS
slug: cms-13/docs/configure-dataaccess-and-dynamicdatastore
docTags: 
createdAt: 2026-07-30T20:22:01.515Z
---

The [Configuration](docId\:yAPuoFfNoI_wNmPrtNfe4) topic describes the syntax used in configuration elements.

```json
{
  "Cms": {
    "DataAccess": {
      "Retries": 3,
      "RetryDelay": "0:0:0.1",
      "DatabaseQueryTimeout": "0:0:30",
      "DatabaseMode": "ReadWrite"
    },
    "DynamicDataStore": {
      "AutoResolveTypes": true,
      "AutoRemapStores": true,
      "DeleteAllOperationTimeout": "0:10:0"
    }
  }
}
```

### DataAccessOptions

| Name                   | Default value | Description                                                                                                                   |
| ---------------------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `RetryDelay`           | 0:0:0.1       | The time to wait before retrying in case of a transient error (only relevant if retries are greater than 0). Retry delays are |
| `Retries`              | 3             | The number of retry attempts in case a transient error such as a deadlock occurs or a timeout when opening the connection.    |
| `DatabaseQueryTimeout` | 0:0:30        | The timeout value to use for database queries (in other words `DbCommand.CommandTimeOut`).                                    |
| `DatabaseMode`         | `ReadWrite`   | The database mode. Possible values are `ReadWrite` and `ReadOnly`.                                                            |

### DynamicDataStoreOptions

The dataStore element is **optional**. Configuration values in `appsettings.json` override default values in code.

| Name                        | Default value | Description                                                                       |
| --------------------------- | ------------- | --------------------------------------------------------------------------------- |
| `AutoRemapStores`           | true          | Defines whether stores are automatically remapped when a type definition changes. |
| `AutoResolveTypes`          | true          | Defines whether type resolution by the Dynamic Data Store is automatic.           |
| `DeleteAllOperationTimeout` | 0:10:0        | Command timeout for the **delete all** functionality.                             |
