Compze.DbPool.MicrosoftSql
0.8.2-alpha
Prefix Reserved
See the version list below for details.
dotnet add package Compze.DbPool.MicrosoftSql --version 0.8.2-alpha
NuGet\Install-Package Compze.DbPool.MicrosoftSql -Version 0.8.2-alpha
<PackageReference Include="Compze.DbPool.MicrosoftSql" Version="0.8.2-alpha" />
<PackageVersion Include="Compze.DbPool.MicrosoftSql" Version="0.8.2-alpha" />
<PackageReference Include="Compze.DbPool.MicrosoftSql" />
paket add Compze.DbPool.MicrosoftSql --version 0.8.2-alpha
#r "nuget: Compze.DbPool.MicrosoftSql, 0.8.2-alpha"
#:package Compze.DbPool.MicrosoftSql@0.8.2-alpha
#addin nuget:?package=Compze.DbPool.MicrosoftSql&version=0.8.2-alpha&prerelease
#tool nuget:?package=Compze.DbPool.MicrosoftSql&version=0.8.2-alpha&prerelease
Compze.DbPool.MicrosoftSql
Empty SQL Server databases on demand for integration testing etc.
SQL Server support for Compze.DbPool.
A pool
IDbPool.MsSql() creates a pool whose databases come from the DbPool service the test project's build property CompzeDbPoolService
names, else the one on this machine. Each reservation name gets an empty database of its own; disposing the pool returns them.
using Compze.DbPool;
using Compze.DbPool.MicrosoftSql;
using var pool = IDbPool.MsSql();
var connectionString = pool.ConnectionStringFor("orders");
For Compze's named domain databases, use Compze.Sql.MicrosoftSql.Testing.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Compze.DbPool (= 0.13.0-alpha)
- Compze.DbPool.ServiceClient (= 0.7.2-alpha)
- Microsoft.Data.SqlClient (>= 6.1.3)
- System.Security.Cryptography.Pkcs (>= 11.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Compze.DbPool.MicrosoftSql:
| Package | Downloads |
|---|---|
|
Compze.Sql.MicrosoftSql.Testing
Test databases from a DbPool for Compze's named SQL Server domain databases: MsSqlTestDatabases() has 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.19.0-alpha | 0 | 12/5/2026 |
| 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.8.2-alpha | 8 | 12/5/2026 |
| 0.8.1-alpha | 42 | 12/5/2026 |
| 0.8.0-alpha | 89 | 12/5/2026 |
| 0.7.0-alpha | 68 | 12/5/2026 |
| 0.6.11-alpha | 57 | 12/5/2026 |
| 0.6.10-alpha | 60 | 12/5/2026 |
| 0.6.9-alpha | 57 | 12/4/2026 |
| 0.6.8-alpha | 61 | 12/4/2026 |
| 0.6.7-alpha | 73 | 12/4/2026 |
| 0.6.6-alpha | 112 | 12/4/2026 |
| 0.6.5-alpha | 63 | 12/4/2026 |
- **Requires exact versions of the Compze packages whose internals it uses:** Compze.DbPool 0.13.0-alpha (was 0.12.0-alpha), Compze.DbPool.ServiceClient 0.7.2-alpha (was 0.7.1-alpha). Upgrading to this version upgrades each package listed here to exactly that version, so their changelogs apply to this upgrade as well.