SharpClaw.Persistence.SQLite 0.5.0-dev.20260922.1

This is a prerelease version of SharpClaw.Persistence.SQLite.
There is a newer prerelease version of this package available.
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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SharpClaw.Persistence.SQLite" Version="0.5.0-dev.20260922.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SharpClaw.Persistence.SQLite" Version="0.5.0-dev.20260922.1" />
                    
Directory.Packages.props
<PackageReference Include="SharpClaw.Persistence.SQLite" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SharpClaw.Persistence.SQLite --version 0.5.0-dev.20260922.1
                    
#r "nuget: SharpClaw.Persistence.SQLite, 0.5.0-dev.20260922.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SharpClaw.Persistence.SQLite@0.5.0-dev.20260922.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SharpClaw.Persistence.SQLite&version=0.5.0-dev.20260922.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=SharpClaw.Persistence.SQLite&version=0.5.0-dev.20260922.1&prerelease
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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