NPipeline.Connectors.SqlServer
0.68.0
See the version list below for details.
dotnet add package NPipeline.Connectors.SqlServer --version 0.68.0
NuGet\Install-Package NPipeline.Connectors.SqlServer -Version 0.68.0
<PackageReference Include="NPipeline.Connectors.SqlServer" Version="0.68.0" />
<PackageVersion Include="NPipeline.Connectors.SqlServer" Version="0.68.0" />
<PackageReference Include="NPipeline.Connectors.SqlServer" />
paket add NPipeline.Connectors.SqlServer --version 0.68.0
#r "nuget: NPipeline.Connectors.SqlServer, 0.68.0"
#:package NPipeline.Connectors.SqlServer@0.68.0
#addin nuget:?package=NPipeline.Connectors.SqlServer&version=0.68.0
#tool nuget:?package=NPipeline.Connectors.SqlServer&version=0.68.0
NPipeline SQL Server Connector
Source and sink nodes for SQL Server in NPipeline pipelines, on NPipeline's shared SQL layer.
About NPipeline
NPipeline is a high-performance, extensible data processing framework for .NET that enables developers to build scalable and efficient pipeline-based applications. It provides a rich set of components for data transformation, aggregation, branching, and parallel processing, with built-in support for resilience patterns and error handling.
Installation
dotnet add package NPipeline.Connectors.SqlServer
Targets .NET 8.0, 9.0 and 10.0.
Features
- Name-based binding: columns bind to members case-insensitively, once per query, through a compiled mapper that
reads each value typed at its ordinal. Positional records,
initaccessors andrequiredmembers work. - Strict conversion: a value that does not fit its member is a row error, never a silent default; row errors can fail the read, be skipped, or go to the pipeline's dead-letter sink.
- Transactions per batch by default, so a batch lands whole and a transient failure is retried safely; or one transaction for the whole write.
- Failed batches fail the write, or go to the dead-letter sink with their items.
- Upserts on key columns, and identifiers that are always quoted and escaped.
- Three write strategies: multi-row
INSERTstatements under the 2,100-parameter limit, one statement per row, orSqlBulkCopystreamed from a data reader. MERGE … WITH (HOLDLOCK)upserts, identity columns left out of writes, and parameters typed for plan reuse.
Usage
using NPipeline.Connectors.SqlServer;
var source = SqlServerConnector.Source<Order>(connectionString, "SELECT * FROM dbo.Orders ORDER BY Id");
var sink = SqlServerConnector.Sink<Order>(connectionString, "Orders", o => o with
{
WriteStrategy = SqlServerWriteStrategy.BulkCopy,
BatchSize = 10_000,
});
See the SQL Server connector documentation and SQL Connectors: Shared Behaviour for every option.
Related Packages
- NPipeline - Core pipeline framework
- NPipeline.Connectors - Storage abstractions and base connectors
- NPipeline.Extensions.DependencyInjection - Dependency injection integration
License
This package is licensed under the Business Source License 1.1.
Free for non-production use. Production use is free for organizations with 4 or fewer developers and annual revenue of $5M AUD or less. Larger organizations require a commercial license. This license automatically converts to MIT two years after each release.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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
- Microsoft.Data.SqlClient (>= 7.1.0)
- NPipeline.Connectors (>= 0.68.0)
- NPipeline.StorageProviders (>= 0.68.0)
- NResilience (>= 0.33.0)
-
net8.0
- Microsoft.Data.SqlClient (>= 7.1.0)
- NPipeline.Connectors (>= 0.68.0)
- NPipeline.StorageProviders (>= 0.68.0)
- NResilience (>= 0.33.0)
-
net9.0
- Microsoft.Data.SqlClient (>= 7.1.0)
- NPipeline.Connectors (>= 0.68.0)
- NPipeline.StorageProviders (>= 0.68.0)
- NResilience (>= 0.33.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.70.0 | 0 | 10/1/2026 |
| 0.69.0 | 39 | 10/1/2026 |
| 0.68.0 | 27 | 10/1/2026 |
| 0.67.0 | 57 | 9/29/2026 |
| 0.66.1 | 79 | 9/28/2026 |
| 0.66.0 | 69 | 9/28/2026 |
| 0.65.1 | 73 | 9/27/2026 |
| 0.65.0 | 77 | 9/26/2026 |
| 0.64.0 | 76 | 9/26/2026 |
| 0.63.0 | 74 | 9/24/2026 |
| 0.62.0 | 73 | 9/24/2026 |
| 0.61.1 | 89 | 9/22/2026 |
| 0.61.0 | 87 | 9/22/2026 |
| 0.60.0 | 91 | 9/22/2026 |
| 0.59.0 | 97 | 9/21/2026 |
| 0.58.0 | 90 | 9/21/2026 |
| 0.57.0 | 91 | 9/21/2026 |
| 0.56.0 | 95 | 9/21/2026 |
| 0.55.0 | 96 | 9/21/2026 |
| 0.54.1 | 97 | 9/21/2026 |