PgEFCoreCopy 1.1.0

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

PgEFCoreCopy

NuGet Version

Extension method(s) for EF Core DbContext that use PostgreSQL COPY to speed up bulk operations.

Currently only implements ExecuteInsertRangeAsync.

Benchmarks

dotnet run -c Release --project src/Benchmarks

Results:

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.3 LTS (Noble Numbat)
AMD Ryzen 7 PRO 8840U w/ Radeon 780M Graphics 1.10GHz, 1 CPU, 16 logical and 8 physical cores
.NET SDK 10.0.100
  [Host]     : .NET 10.0.0 (10.0.0, 10.0.25.52411), X64 RyuJIT x86-64-v4
  Job-CNUJVU : .NET 10.0.0 (10.0.0, 10.0.25.52411), X64 RyuJIT x86-64-v4

InvocationCount=1  UnrollFactor=1  

| Method               | SampleCount | Mean     | Error   | StdDev  |
|--------------------- |------------ |---------:|--------:|--------:|
| PgEFCoreCopy         | 200000      | 251.1 ms | 4.81 ms | 5.14 ms |
| EFCoreBulkExtensions | 200000      | 255.0 ms | 4.93 ms | 4.84 ms |
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.1.0 709 5/5/2026
1.0.0 968 4/20/2026
0.9.1 4,187 12/29/2025
0.9.0 1,547 12/1/2025
0.8.1 579 12/1/2025
0.8.0 578 12/1/2025
0.7.0 574 12/1/2025
0.6.0 531 11/23/2025
0.5.0 924 11/19/2025
0.4.0 923 11/6/2025
0.3.3 2,715 8/29/2025
0.3.2 214 8/29/2025
0.3.1 417 8/28/2025
0.3.0 197 7/15/2025
0.2.2 1,274 6/19/2025
0.2.1 1,213 6/3/2025
0.2.0 193 6/3/2025
0.1.4 309 5/30/2025
0.1.1 201 5/27/2025