Compze.DbPool.MicrosoftSql 0.17.1-alpha

Prefix Reserved
This is a prerelease version of Compze.DbPool.MicrosoftSql.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Compze.DbPool.MicrosoftSql --version 0.17.1-alpha
                    
NuGet\Install-Package Compze.DbPool.MicrosoftSql -Version 0.17.1-alpha
                    
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="Compze.DbPool.MicrosoftSql" Version="0.17.1-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Compze.DbPool.MicrosoftSql" Version="0.17.1-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Compze.DbPool.MicrosoftSql" />
                    
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 Compze.DbPool.MicrosoftSql --version 0.17.1-alpha
                    
#r "nuget: Compze.DbPool.MicrosoftSql, 0.17.1-alpha"
                    
#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 Compze.DbPool.MicrosoftSql@0.17.1-alpha
                    
#: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=Compze.DbPool.MicrosoftSql&version=0.17.1-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Compze.DbPool.MicrosoftSql&version=0.17.1-alpha&prerelease
                    
Install as a Cake Tool

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 Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed