EntityFrameworkCore.Bulk.SqlServer
7.0.2.5
dotnet add package EntityFrameworkCore.Bulk.SqlServer --version 7.0.2.5
NuGet\Install-Package EntityFrameworkCore.Bulk.SqlServer -Version 7.0.2.5
<PackageReference Include="EntityFrameworkCore.Bulk.SqlServer" Version="7.0.2.5" />
<PackageVersion Include="EntityFrameworkCore.Bulk.SqlServer" Version="7.0.2.5" />
<PackageReference Include="EntityFrameworkCore.Bulk.SqlServer" />
paket add EntityFrameworkCore.Bulk.SqlServer --version 7.0.2.5
#r "nuget: EntityFrameworkCore.Bulk.SqlServer, 7.0.2.5"
#:package EntityFrameworkCore.Bulk.SqlServer@7.0.2.5
#addin nuget:?package=EntityFrameworkCore.Bulk.SqlServer&version=7.0.2.5
#tool nuget:?package=EntityFrameworkCore.Bulk.SqlServer&version=7.0.2.5
Bulk operations (very fast-forward): Insert, Update, Delete, Upsert, Merge, SaveChanges for EFCore
Performances
Following are performances (in seconds)
- For SQL Server (v. 2019):
| Ops\Rows | EF 100K | Bulk 100K | EF 1 MIL. | Bulk 1 MIL. |
|---|---|---|---|---|
| Insert | 11 s | 3 s | 60 s | 15 s |
| Update | 8 s | 4 s | 84 s | 27 s |
| Delete | 50 s | 3 s | 5340 s | 15 s |
TestTable has 6 columns (Guid, string x2, int, decimal?, DateTime), all inserted and 2 were updated.
Test done locally on configuration: INTEL i7-10510U CPU 2.30GHz, DDR3 16 GB, SSD SAMSUNG 512 GB.
For small data sets there is an overhead since most Bulk ops need to create Temp table and also Drop it after finish.
Probably good advice would be to use Bulk ops for sets greater than 1000.
Original
▶️ <b>Please check and make donation for <a href="https://github.com/borisdj/EFCore.BulkExtensions">Borisdj</a></b>
Available on <a href="https://www.nuget.org/packages/EFCore.BulkExtensions/"><img src="https://buildstats.info/nuget/EFCore.BulkExtensions" /></a><br> Package manager console command for installation: Install-Package EFCore.BulkExtensions<br>
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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 was computed. 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 was computed. 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. |
-
net7.0
- Microsoft.EntityFrameworkCore.SqlServer (>= 7.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.