See the version list below for details.
dotnet add package FlexLabs.EntityFrameworkCore.Upsert --version 7.0.0
NuGet\Install-Package FlexLabs.EntityFrameworkCore.Upsert -Version 7.0.0
<PackageReference Include="FlexLabs.EntityFrameworkCore.Upsert" Version="7.0.0" />
paket add FlexLabs.EntityFrameworkCore.Upsert --version 7.0.0
#r "nuget: FlexLabs.EntityFrameworkCore.Upsert, 7.0.0"
// Install FlexLabs.EntityFrameworkCore.Upsert as a Cake Addin #addin nuget:?package=FlexLabs.EntityFrameworkCore.Upsert&version=7.0.0 // Install FlexLabs.EntityFrameworkCore.Upsert as a Cake Tool #tool nuget:?package=FlexLabs.EntityFrameworkCore.Upsert&version=7.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
|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-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed.|
- Microsoft.EntityFrameworkCore.Relational (>= 7.0.0)
NuGet packages (14)
Showing the top 5 NuGet packages that depend on FlexLabs.EntityFrameworkCore.Upsert:
Application Component for the Alliance Business Suite.
Elsa is a set of workflow libraries and tools that enable super-fast workflowing capabilities in any .NET Core application. This package provides an Entity Framework Core persistence provider.
Generic library for easy creation of CRUD rest APIs with dotnet and EntityFrameworkCore.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on FlexLabs.EntityFrameworkCore.Upsert:
Secure, Modern, Fully-Featured, All-In-One Cross-Architecture & Cross-Platform DNS Server Using .NET 7.0
+ Adding support for EF Core 7
* Improving entity type detection when using DbSet<>
! Patching MySQL handling of null columns
+ Adding support for EF Core 6
+ Handling UseIdentityAlwaysColumn columns
! Fixing the library versioning. From now one, one version of the library depends on one version of EF Core, for all supported target frameworks
! Patching some MySql conditional update queries
+ 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