rebusfm.FlexLabs.EntityFrameworkCore.Upsert
0.0.1
dotnet add package rebusfm.FlexLabs.EntityFrameworkCore.Upsert --version 0.0.1
NuGet\Install-Package rebusfm.FlexLabs.EntityFrameworkCore.Upsert -Version 0.0.1
<PackageReference Include="rebusfm.FlexLabs.EntityFrameworkCore.Upsert" Version="0.0.1" />
paket add rebusfm.FlexLabs.EntityFrameworkCore.Upsert --version 0.0.1
#r "nuget: rebusfm.FlexLabs.EntityFrameworkCore.Upsert, 0.0.1"
// Install rebusfm.FlexLabs.EntityFrameworkCore.Upsert as a Cake Addin
#addin nuget:?package=rebusfm.FlexLabs.EntityFrameworkCore.Upsert&version=0.0.1
// Install rebusfm.FlexLabs.EntityFrameworkCore.Upsert as a Cake Tool
#tool nuget:?package=rebusfm.FlexLabs.EntityFrameworkCore.Upsert&version=0.0.1
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
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. |
-
net7.0
- Microsoft.EntityFrameworkCore.Relational (>= 7.0.0)
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 |
---|---|---|
0.0.1 | 414 | 11/9/2022 |
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