SharpClaw.Persistence.SQLite
0.5.0-dev.20260922.1
See the version list below for details.
dotnet add package SharpClaw.Persistence.SQLite --version 0.5.0-dev.20260922.1
NuGet\Install-Package SharpClaw.Persistence.SQLite -Version 0.5.0-dev.20260922.1
<PackageReference Include="SharpClaw.Persistence.SQLite" Version="0.5.0-dev.20260922.1" />
<PackageVersion Include="SharpClaw.Persistence.SQLite" Version="0.5.0-dev.20260922.1" />
<PackageReference Include="SharpClaw.Persistence.SQLite" />
paket add SharpClaw.Persistence.SQLite --version 0.5.0-dev.20260922.1
#r "nuget: SharpClaw.Persistence.SQLite, 0.5.0-dev.20260922.1"
#:package SharpClaw.Persistence.SQLite@0.5.0-dev.20260922.1
#addin nuget:?package=SharpClaw.Persistence.SQLite&version=0.5.0-dev.20260922.1&prerelease
#tool nuget:?package=SharpClaw.Persistence.SQLite&version=0.5.0-dev.20260922.1&prerelease
SharpClaw.Persistence
SharpClaw.Persistence contains the official storage modules for SharpClaw 0.5.0. Storage backends are discovered through the same module system as every other capability: the host selects a provider key, an installed module contributes the EF Core provider configuration, and each relational module carries and owns its own migrations. The repository is licensed under the GNU Affero General Public License v3.0 or later.
The version and license in every module package.json are release identity, not an independent compatibility version: they must exactly match the containing NuGet package version and license expression. Package validation fails before publication when a source manifest, embedded manifest, nuspec, repository commit, or written source offer diverges.
Packages
| Package | Database:Provider |
Compatibility alias | Migration owner |
|---|---|---|---|
SharpClaw.Persistence.JSONColdStore |
JSONColdStore |
JsonFile |
Schema-free; calls EnsureCreated |
SharpClaw.Persistence.PostgreSQL |
PostgreSQL |
Postgres |
PostgreSQL module assembly |
SharpClaw.Persistence.SQLServer |
SQLServer |
SqlServer |
SQL Server module assembly |
SharpClaw.Persistence.SQLite |
SQLite |
— | SQLite module assembly |
SharpClaw.Persistence |
— | — | Provider-neutral contracts and the canonical model |
Configuration
Select one installed module through Database:Provider; relational modules resolve a connection string using the configured key, canonical key, or compatibility alias. Existing JsonFile, Postgres, and SqlServer configurations therefore continue to work.
{
"Database": {
"Provider": "PostgreSQL",
"Relational": {
"EnableRetryOnFailure": true
}
},
"ConnectionStrings": {
"PostgreSQL": "Host=localhost;Database=sharpclaw;Username=sharpclaw;Password=change-me"
}
}
Migrations
Migration files belong to the relational provider project that applies them and must always be generated with the EF Core CLI. Do not author or edit migration files or model snapshots by hand. From this repository, use one of the following commands after installing the pinned dotnet-ef tool:
dotnet ef migrations add <Name> --project SharpClaw.Persistence.PostgreSQL --startup-project SharpClaw.Persistence.PostgreSQL --context SharpClawDbContext --output-dir Migrations
dotnet ef migrations add <Name> --project SharpClaw.Persistence.SQLServer --startup-project SharpClaw.Persistence.SQLServer --context SharpClawDbContext --output-dir Migrations
dotnet ef migrations add <Name> --project SharpClaw.Persistence.SQLite --startup-project SharpClaw.Persistence.SQLite --context SharpClawDbContext --output-dir Migrations
The initial migrations retain the IDs originally generated in SharpClaw so an already-migrated database is not made to replay the same schema under a new identifier.
Publishing
The release workflow builds one immutable package set and publishes those exact .nupkg files to both NuGet.org and GitHub Packages. A version can be supplied through workflow_dispatch, while a v* tag uses the tag name without the leading v.
| 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
- Microsoft.EntityFrameworkCore (>= 10.0.9)
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.9)
- Microsoft.EntityFrameworkCore.Sqlite (>= 10.0.9)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.12)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- SharpClaw.Contracts (= 0.5.0-dev.20260920.1)
- SharpClaw.Persistence (= 0.5.0-dev.20260922.1)
- SQLitePCLRaw.lib.e_sqlite3 (>= 3.53.3)
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 |
|---|---|---|
| 0.5.0-dev.20260922.3 | 185 | 11/6/2026 |
| 0.5.0-dev.20260922.2 | 93 | 11/6/2026 |
| 0.5.0-dev.20260922.1 | 166 | 9/22/2026 |
| 0.5.0-dev.20260920.1 | 100 | 9/20/2026 |