Activout.DatabaseClient.LibSql
5.1.0
dotnet add package Activout.DatabaseClient.LibSql --version 5.1.0
NuGet\Install-Package Activout.DatabaseClient.LibSql -Version 5.1.0
<PackageReference Include="Activout.DatabaseClient.LibSql" Version="5.1.0" />
<PackageVersion Include="Activout.DatabaseClient.LibSql" Version="5.1.0" />
<PackageReference Include="Activout.DatabaseClient.LibSql" />
paket add Activout.DatabaseClient.LibSql --version 5.1.0
#r "nuget: Activout.DatabaseClient.LibSql, 5.1.0"
#:package Activout.DatabaseClient.LibSql@5.1.0
#addin nuget:?package=Activout.DatabaseClient.LibSql&version=5.1.0
#tool nuget:?package=Activout.DatabaseClient.LibSql&version=5.1.0
Activout Database Client - libSQL backend
An IDatabaseGateway for libSQL databases such as
Bunny Database and Turso, built on
Nelknet.LibSQL.Data. Nelknet bundles the libSQL engine, so tests
can use an in-memory database (Data Source=:memory:) with the same provider as production.
SqliteTypeHandlers.Register(); // once at startup, so Guid and DateTime can be read back
var connection = new LibSQLConnection(connectionString); // "Data Source=:memory:" in tests
var userDao = new DatabaseClientBuilder()
.With(new LibSqlGateway(connection))
.Build<IUserDao>();
DapperGateway cannot be used with the libSQL provider, because Dapper removes the @ from parameter names and the
provider needs it. LibSqlGateway builds commands with plain ADO.NET and uses Dapper only to map rows.
Values are stored in SQLite-friendly forms: Guid as text, DateTime as UTC text (yyyy-MM-dd HH:mm:ss.fff),
bool as 0/1 and enums by name.
SqliteTypeHandlers (from Activout.DatabaseClient.Dapper) lets Dapper read Guid and DateTime values stored as
text. Dapper's type handlers are global, so it also applies to any DapperGateway in the process: values stored as
text are parsed, and native Guid and DateTime values from other databases are returned unchanged.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Activout.DatabaseClient.Dapper (>= 5.1.0)
- Nelknet.LibSQL.Data (>= 0.2.13)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.1.0 | 163 | 11/17/2026 |