XiaoYang.EntityFrameworkCore.Bulk.Relational 6.0.27-preview

This is a prerelease version of XiaoYang.EntityFrameworkCore.Bulk.Relational.
There is a newer version of this package available.
See the version list below for details.
dotnet add package XiaoYang.EntityFrameworkCore.Bulk.Relational --version 6.0.27-preview                
NuGet\Install-Package XiaoYang.EntityFrameworkCore.Bulk.Relational -Version 6.0.27-preview                
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="XiaoYang.EntityFrameworkCore.Bulk.Relational" Version="6.0.27-preview" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XiaoYang.EntityFrameworkCore.Bulk.Relational --version 6.0.27-preview                
#r "nuget: XiaoYang.EntityFrameworkCore.Bulk.Relational, 6.0.27-preview"                
#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.
// Install XiaoYang.EntityFrameworkCore.Bulk.Relational as a Cake Addin
#addin nuget:?package=XiaoYang.EntityFrameworkCore.Bulk.Relational&version=6.0.27-preview&prerelease

// Install XiaoYang.EntityFrameworkCore.Bulk.Relational as a Cake Tool
#tool nuget:?package=XiaoYang.EntityFrameworkCore.Bulk.Relational&version=6.0.27-preview&prerelease                

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on XiaoYang.EntityFrameworkCore.Bulk.Relational:

Package Downloads
XiaoYang.EntityFrameworkCore.Bulk.SqlServer

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 });

XiaoYang.EntityFrameworkCore.Bulk.MySql

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 });

XiaoYang.EntityFrameworkCore.Bulk.PostgreSql

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 });

XiaoYang.EntityFrameworkCore.Bulk.Sqlite

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 });

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.0.29 12,083 2/5/2022
6.0.28 2,412 12/12/2021
6.0.27-preview 750 11/18/2021
5.0.29 1,863 2/5/2022
5.0.28 760 12/12/2021
5.0.27 800 11/18/2021
5.0.26 5,346 5/7/2021
5.0.25 789 3/12/2021
3.1.29 1,702 2/5/2022
3.1.28 777 12/12/2021
3.1.27 799 11/18/2021
3.1.26 1,081 5/7/2021
3.1.25 1,101 3/12/2021

Brings DELETE / UPDATE / INSERT INTO SELECT / UPSERT / MERGE INTO into Various EFCore provider.