HsSqlAgent.Provider.Abstractions 2.0.5

dotnet add package HsSqlAgent.Provider.Abstractions --version 2.0.5
                    
NuGet\Install-Package HsSqlAgent.Provider.Abstractions -Version 2.0.5
                    
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="HsSqlAgent.Provider.Abstractions" Version="2.0.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HsSqlAgent.Provider.Abstractions" Version="2.0.5" />
                    
Directory.Packages.props
<PackageReference Include="HsSqlAgent.Provider.Abstractions" />
                    
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 HsSqlAgent.Provider.Abstractions --version 2.0.5
                    
#r "nuget: HsSqlAgent.Provider.Abstractions, 2.0.5"
                    
#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 HsSqlAgent.Provider.Abstractions@2.0.5
                    
#: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=HsSqlAgent.Provider.Abstractions&version=2.0.5
                    
Install as a Cake Addin
#tool nuget:?package=HsSqlAgent.Provider.Abstractions&version=2.0.5
                    
Install as a Cake Tool

HsSqlAgent.Provider.Abstractions

Contracts and shared runtime building blocks for HsSqlAgent database providers. It depends on HsSqlAgent.SqlCore but does not include an ADO.NET database driver.

Install

dotnet add package HsSqlAgent.Provider.Abstractions

Consume a provider

Accept ISqlProvider when application code should be independent of the concrete database driver:

using HsSqlAgent.Provider.Abstractions;

static async Task<IReadOnlyList<string>> ReadSchemasAsync(
    ISqlProvider provider,
    string connectionString,
    CancellationToken cancellationToken = default)
{
    await using var connection = provider.Connections.Create(connectionString);
    await connection.OpenAsync(cancellationToken);
    return await provider.Metadata.GetSchemasAsync(connectionString, cancellationToken);
}

Applications normally install a concrete HsSqlAgent.Provider.* package instead. This package is intended for provider authors and code that consumes ISqlProvider, IDbConnectionFactory, IProviderMetadataReader or provider error mapping abstractions. Provider authors can derive from SqlProviderBase to implement connection creation and metadata discovery.

Project: https://github.com/tse-wei-chen/hs-sql-agent

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 (7)

Showing the top 5 NuGet packages that depend on HsSqlAgent.Provider.Abstractions:

Package Downloads
HsSqlAgent.Server

Embeddable MCP SQL Agent components for ASP.NET Core with composable runtime, MCP, administration, authentication, UI, and telemetry capabilities.

HsSqlAgent.Provider.PostgreSql

HsSqlAgent PostgreSql runtime provider package.

HsSqlAgent.Provider.Firebird

HsSqlAgent Firebird runtime provider package.

HsSqlAgent.Provider.SqlServer

HsSqlAgent SQL Server runtime provider package.

HsSqlAgent.Provider.Sqlite

HsSqlAgent SQLite runtime provider package.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.5 111 9/8/2026
2.0.4 157 9/7/2026
2.0.3 159 9/5/2026
2.0.2 141 9/4/2026
2.0.1 144 9/3/2026
2.0.0 146 9/2/2026