XiaoYang.EntityFrameworkCore.Bulk.SqlServer
6.0.29
dotnet add package XiaoYang.EntityFrameworkCore.Bulk.SqlServer --version 6.0.29
NuGet\Install-Package XiaoYang.EntityFrameworkCore.Bulk.SqlServer -Version 6.0.29
<PackageReference Include="XiaoYang.EntityFrameworkCore.Bulk.SqlServer" Version="6.0.29" />
paket add XiaoYang.EntityFrameworkCore.Bulk.SqlServer --version 6.0.29
#r "nuget: XiaoYang.EntityFrameworkCore.Bulk.SqlServer, 6.0.29"
// Install XiaoYang.EntityFrameworkCore.Bulk.SqlServer as a Cake Addin #addin nuget:?package=XiaoYang.EntityFrameworkCore.Bulk.SqlServer&version=6.0.29 // Install XiaoYang.EntityFrameworkCore.Bulk.SqlServer as a Cake Tool #tool nuget:?package=XiaoYang.EntityFrameworkCore.Bulk.SqlServer&version=6.0.29
Entity Framework Core Batch Extensions for INSERT UPDATE DELETE UPSERT MERGE operations by generating SQLs. NOTE that you should install the corresponding provider package.
Commonly Used Extension Methods:
DbContext.Auditlogs.Where(a => a.Time == DateTime.Now.AddDays(-30)).BatchDelete();
DbContext.Employees.Where(a => a.IsActive).BatchUpdate(a => new Employee { Salary = a.Salary + 10000 });
DbContext.Votes.Upsert(() => new Vote { CommentId = cid, Votes = 1 }, v => new Vote { Votes = v.Votes + 1 });
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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. |
-
net6.0
- Microsoft.EntityFrameworkCore.SqlServer (>= 6.0.0 && < 7.0.0)
- XiaoYang.EntityFrameworkCore.Bulk.Relational (>= 6.0.29)
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 |
---|---|---|
6.0.29 | 10,673 | 2/5/2022 |
6.0.28 | 2,058 | 12/12/2021 |
6.0.27-preview | 666 | 11/18/2021 |
5.0.29 | 488 | 2/5/2022 |
5.0.28 | 307 | 12/12/2021 |
5.0.27 | 328 | 11/18/2021 |
5.0.26 | 578 | 5/7/2021 |
5.0.25 | 379 | 3/12/2021 |
3.1.29 | 630 | 2/5/2022 |
3.1.28 | 309 | 12/12/2021 |
3.1.27 | 316 | 11/18/2021 |
3.1.26 | 512 | 5/7/2021 |
3.1.25 | 571 | 3/12/2021 |
Brings DELETE / UPDATE / INSERT INTO SELECT / UPSERT / MERGE INTO into Various EFCore provider.