Link Search Menu Expand Document

Bulk Writer

A small library which facilitates building fast, memory-efficient, pull-based ETL processes in C#.

Bulk Writer provides a wrapper over Microsoft.Data.SqlClient.SqlBulkCopy to enable streaming of records to a target data store using an IEnumerable or IAsyncEnumerable (.NET Standard 2.1 or later) as the data source. This approach keeps memory overhead low when loading a large volumes of data, while taking advantage of high-speed bulk inserts to the database provided by SqlBulkCopy. Helper classes provide means to apply this model manually, and to build custom ETL pipelines to transform data on its way into the data store.


Table of contents


Copyright © 2020 Headspring.