> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.nimbleapps.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# TursoSyncOptions

> Configuration options for Turso Cloud sync.

## Definition

**Assembly:** CloudNimble.BlazorEssentials.TursoDb.dll

**Namespace:** CloudNimble.BlazorEssentials.TursoDb

**Inheritance:** System.Object

## Syntax

```csharp theme={"dark"}
CloudNimble.BlazorEssentials.TursoDb.TursoSyncOptions
```

## Summary

Configuration options for Turso Cloud sync.

## Constructors

### &#x20;.ctor

#### Syntax

```csharp theme={"dark"}
public TursoSyncOptions()
```

### &#x20;.ctor Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public Object()
```

## Properties

### &#x20;AuthToken

Gets or sets the authentication token for Turso Cloud.
This token is obtained from the Turso CLI or dashboard.

#### Syntax

```csharp theme={"dark"}
public string AuthToken { get; set; }
```

#### Property Value

Type: `string`

### &#x20;EncryptionEnabled

Gets or sets whether to encrypt the local database.
Requires an encryption key to be set.

#### Syntax

```csharp theme={"dark"}
public bool EncryptionEnabled { get; set; }
```

#### Property Value

Type: `bool`

### &#x20;EncryptionKey

Gets or sets the encryption key for the local database.
Required when EncryptionEnabled is true.

#### Syntax

```csharp theme={"dark"}
public string EncryptionKey { get; set; }
```

#### Property Value

Type: `string?`

### &#x20;SyncIntervalMs

Gets or sets the sync interval in milliseconds.
Set to 0 to disable automatic sync. Default is 0 (manual sync only).

#### Syntax

```csharp theme={"dark"}
public int SyncIntervalMs { get; set; }
```

#### Property Value

Type: `int`

### &#x20;SyncOnConnect

Gets or sets whether to automatically sync on connect.
Default is true.

#### Syntax

```csharp theme={"dark"}
public bool SyncOnConnect { get; set; }
```

#### Property Value

Type: `bool`

### &#x20;SyncUrl

Gets or sets the sync URL for the Turso Cloud database.
This is typically in the format: libsql://\[database-name]-\[org-name].turso.io

#### Syntax

```csharp theme={"dark"}
public string SyncUrl { get; set; }
```

#### Property Value

Type: `string`

## Methods

### &#x20;Equals Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual bool Equals(object obj)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `obj` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;Equals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public static bool Equals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;GetHashCode Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual int GetHashCode()
```

#### Returns

Type: `int`

### &#x20;GetType Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public System.Type GetType()
```

#### Returns

Type: `System.Type`

### &#x20;MemberwiseClone Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
protected internal object MemberwiseClone()
```

#### Returns

Type: `object`

### &#x20;ReferenceEquals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public static bool ReferenceEquals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;ToString Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual string ToString()
```

#### Returns

Type: `string?`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.