FlexLabs.EntityFrameworkCore.Upsert 8.0.0
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
No packages depend on FlexLabs.EntityFrameworkCore.Upsert.
v8.0.0
- Adding support for EF Core 8
v7.0.0
- Adding support for EF Core 7
v6.0.2
- Improving entity type detection when using DbSet<> ! Patching MySQL handling of null columns
v6.0.0
- Adding support for EF Core 6
- Handling UseIdentityAlwaysColumn columns
v5.0.0 ! Fixing the library versioning. From now one, one version of the library depends on one version of EF Core, for all supported target frameworks
v4.0.1 ! Patching some MySql conditional update queries
v4.0.0
- Adding support for .NET 5 and EF Core 5 ! Patched support for constants in the update condition ! Run and RunAsync will not return all rows affected when command was split into multiple batches, not just the last batch's row count ! Patching the extension method to replace/inject custom command runner ! Removed old extension method on IServiceCollection, since it wasn't working anyway
.NET 8.0
- Microsoft.EntityFrameworkCore.Relational (>= 8.0.0)
| Version | Downloads | Last updated |
|---|---|---|
| 8.0.0 | 1,198 | 05/09/2025 |