Compze.DbPool.Sqlite
0.7.0-alpha
Prefix Reserved
Compze no longer supports SQLite. Use the corresponding SQL Server, PostgreSQL or MySQL package instead.
See the version list below for details.
dotnet add package Compze.DbPool.Sqlite --version 0.7.0-alpha
NuGet\Install-Package Compze.DbPool.Sqlite -Version 0.7.0-alpha
<PackageReference Include="Compze.DbPool.Sqlite" Version="0.7.0-alpha" />
<PackageVersion Include="Compze.DbPool.Sqlite" Version="0.7.0-alpha" />
<PackageReference Include="Compze.DbPool.Sqlite" />
paket add Compze.DbPool.Sqlite --version 0.7.0-alpha
#r "nuget: Compze.DbPool.Sqlite, 0.7.0-alpha"
#:package Compze.DbPool.Sqlite@0.7.0-alpha
#addin nuget:?package=Compze.DbPool.Sqlite&version=0.7.0-alpha&prerelease
#tool nuget:?package=Compze.DbPool.Sqlite&version=0.7.0-alpha&prerelease
Compze.DbPool.Sqlite
Empty SQLite databases on demand for integration testing etc.
SQLite support for Compze.DbPool.
A pool
IDbPool.Sqlite() creates a pool of SQLite databases in files, which every pool on the machine shares; IDbPool.SqliteMemory() one of
in-memory databases. Each reservation name gets an empty database of its own; disposing the pool returns them.
using Compze.DbPool;
using Compze.DbPool.Sqlite;
using var pool = IDbPool.SqliteMemory();
var connectionString = pool.ConnectionStringFor("orders");
For Compze's named domain databases, use Compze.Sql.Sqlite.Testing.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Compze.DbPool (= 0.12.0-alpha)
- Microsoft.Data.Sqlite (>= 9.0.23)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Compze.DbPool.Sqlite:
| Package | Downloads |
|---|---|
|
Compze.Sql.Sqlite.Testing
Discontinued: this is its last version. Compze no longer supports SQLite: it runs one writer at a time, so it could never be a fully supported persistence layer. Use Compze.Sql.MicrosoftSql.Testing for SQL Server, Compze.Sql.PostgreSql.Testing for PostgreSQL or Compze.Sql.MySql.Testing for MySQL. Test databases from a DbPool for Compze's named SQLite domain databases: SqliteTestDatabases() and SqliteMemoryTestDatabases() have a root container and its clones use them. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 0.18.1-alpha | 0 | 12/5/2026 | |
| 0.18.0-alpha | 0 | 12/5/2026 | |
| 0.17.1-alpha | 0 | 12/5/2026 | |
| 0.17.0-alpha | 0 | 12/5/2026 | |
| 0.16.0-alpha | 0 | 12/5/2026 | |
| 0.15.1-alpha | 0 | 12/5/2026 | |
| 0.15.0-alpha | 0 | 12/5/2026 | |
| 0.14.0-alpha | 0 | 12/5/2026 | |
| 0.7.1-alpha | 8 | 12/5/2026 | |
| 0.7.0-alpha | 84 | 12/5/2026 | |
| 0.6.7-alpha | 54 | 12/5/2026 | |
| 0.6.6-alpha | 52 | 12/5/2026 | |
| 0.6.5-alpha | 53 | 12/4/2026 | |
| 0.6.4-alpha | 80 | 12/4/2026 | |
| 0.6.3-alpha | 45 | 12/4/2026 | |
| 0.6.2-alpha | 90 | 12/3/2026 | |
| 0.6.1-alpha | 162 | 12/2/2026 | |
| 0.6.0-alpha | 45 | 12/2/2026 | |
| 0.5.0-alpha | 108 | 11/29/2026 | |
| 0.4.0-alpha | 112 | 11/28/2026 |
- **A reset that fails, and is redone by creating the database anew, is told of on standard error,** with the exception, in place of a warning in Compze's log.
- **`IDbPool.Sqlite()` and `IDbPool.SqliteMemory()` create a pool,** of databases in files that every pool on the machine shares, or of in-memory databases, each with an optional reservation length.
- **`SqliteTestDatabases()` and `SqliteMemoryTestDatabases()` moved to Compze.Sql.Sqlite.Testing,** and `SqliteDbPoolSqlLayer()` and `SqliteMemoryDbPoolSqlLayer()` are gone with the container registration. Compze.DbPool.Sqlite no longer depends on Compze.Sql.
- **Requires exact versions of the Compze packages whose internals it uses:** Compze.DbPool 0.12.0-alpha (was 0.11.0-alpha). Upgrading to this version upgrades each package listed here to exactly that version, so their changelogs apply to this upgrade as well.