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
<PackageReference Include="HsSqlAgent.Provider.Abstractions" Version="2.0.5" />
<PackageVersion Include="HsSqlAgent.Provider.Abstractions" Version="2.0.5" />
<PackageReference Include="HsSqlAgent.Provider.Abstractions" />
paket add HsSqlAgent.Provider.Abstractions --version 2.0.5
#r "nuget: HsSqlAgent.Provider.Abstractions, 2.0.5"
#:package HsSqlAgent.Provider.Abstractions@2.0.5
#addin nuget:?package=HsSqlAgent.Provider.Abstractions&version=2.0.5
#tool nuget:?package=HsSqlAgent.Provider.Abstractions&version=2.0.5
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.
| Product | Versions 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. |
-
net10.0
- FSharp.Core (>= 10.1.201)
- HsSqlAgent.SqlCore (>= 2.0.5)
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.