Skip to main content

Definition

Assembly: CloudNimble.BlazorEssentials.TursoDb.dll Namespace: CloudNimble.BlazorEssentials.TursoDb Inheritance: System.Object

Syntax

CloudNimble.BlazorEssentials.TursoDb.TursoDatabaseOptions

Summary

Configuration options for a Turso database.

Constructors

.ctor

Syntax

public TursoDatabaseOptions()

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

AuthToken

Gets or sets the authentication token for remote Turso databases.

Syntax

public string AuthToken { get; set; }

Property Value

Type: string?

AutoCreateSchema

Gets or sets whether to automatically create tables on connect. Defaults to true.

Syntax

public bool AutoCreateSchema { get; set; }

Property Value

Type: bool

Url

Gets or sets the database URL. Use “file:name.db” for local databases, or a Turso cloud URL for remote. Defaults to “:memory:” for an in-memory database.

Syntax

public string Url { get; set; }

Property Value

Type: string

Methods

Equals Inherited Virtual

Inherited from object

Syntax

public virtual bool Equals(object obj)

Parameters

NameTypeDescription
objobject?-

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

public static bool Equals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

public virtual int GetHashCode()

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

public System.Type GetType()

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

protected internal object MemberwiseClone()

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

public static bool ReferenceEquals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

public virtual string ToString()

Returns

Type: string?