FlexLabs.EntityFrameworkCore.Upsert 2.1.2

Adds basic support for "Upsert" operations to EF Core.

Uses `INSERT … ON CONFLICT DO UPDATE` in PostgreSQL/Sqlite, `MERGE` in SqlServer and `INSERT INTO … ON DUPLICATE KEY UPDATE` in MySQL.

Also supports injecting sql command generators to add support for other providers

Install-Package FlexLabs.EntityFrameworkCore.Upsert -Version 2.1.2
dotnet add package FlexLabs.EntityFrameworkCore.Upsert --version 2.1.2
<PackageReference Include="FlexLabs.EntityFrameworkCore.Upsert" Version="2.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FlexLabs.EntityFrameworkCore.Upsert --version 2.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

v2.1.2:
+ Add filter condition for updates on upsert
! Updating properties with default values

v2.1.0:
* Improved expression parser should support more expressions
+ Support for more complex multi-operation combined expressions
+ Support for conditional expressions
+ Support for comparison expressions

Version History

Version Downloads Last updated
2.1.2 5,311 5/22/2019
2.1.1 127 5/21/2019
2.1.0 439 5/19/2019
2.0.7 12,345 3/18/2019
2.0.6 6,402 2/6/2019
2.0.5 4,838 1/25/2019
2.0.4 4,238 1/3/2019
2.0.3 1,814 12/18/2018
2.0.2 7,093 11/3/2018
2.0.1 487 10/24/2018
2.0.0 6,101 9/19/2018
1.1.0 141 9/19/2018
1.0.4 5,341 3/10/2018
1.0.3 276 2/23/2018
1.0.2 197 2/20/2018
1.0.1 262 2/19/2018
1.0.0 206 2/18/2018