Boxit.BulkInsert.SQLServer 1.0.0

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

BulkInsert

A simple way of doing bulk inserts for SQLServer

Usage:

  • First add the Boxit.BulkInsert.SQLServer package to your solution.
  • Then create a collection of models to add.
  • Finally call BulkInsertAsync(entities) on your DbContext

Example

var dbContext = serviceProvider.GetRequiredService<MyDbContext>();

var entities = sonSerializer.Deserialize<MyEntity>(someJsonString);

await dbContext.BulkInsertAsync(entities);

Note

This library is pretty crude as of now and will grow with some love & care.

License

The library is free and open source under the MIT License.

Contributing

Feel free to contribute

  • code or documentation updates by forking the repo and creating a pull request

  • feature requests by adding an issue tagged as feature request

  • bug reports by adding an issue tagged as bug

    With bug reports it's easiest if you provide a minimal executable example or create a PR which has the Issue-ID inside that contains an added, failing Test. However, this is not needed for bug reports, it just makes it easier for us to understand and reproduce the problem.

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

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
1.0.0 36 4/2/2026