Skip to content
Meshline
SDK 1.6.0 · TypeView source on GitHub

Developer guide · API index

Members on this page

Meshline.Sdk

Meshline.Storage

DatabaseOptions Class

Specifies the SQLite database file used by one network, account, and local device.

public sealed class DatabaseOptions

Inheritance System.Object → DatabaseOptions

Remarks

Use a separate database for each network, account, and device. Assigning the path does not open a database or create its parent directory. Call MigrateAsync(DatabaseOptions, CancellationToken) before initializing clients or components.
Each database has one active client or independently composed component graph, including across processes. Await disposal before transferring ownership. The SDK does not enforce exclusive database ownership.

Properties

DatabaseOptions.Path Property

The absolute SQLite file path; relative input is resolved against the current working directory when assigned.

public string Path { get; init; }

Property Value

System.String