FlexLabs.Upsert icon indicating copy to clipboard operation
FlexLabs.Upsert copied to clipboard

FlexLabs.Upsert is a library that brings UPSERT functionality to common database providers for Entity Framework in their respective native SQL syntax

Results 47 FlexLabs.Upsert issues
Sort by recently updated
recently updated
newest added

Hi! Amazing library! But I can't found an answer, how to ignore some entity properties on update? Is it possible ? I have next case : I want to upsert...

enhancement

Hi, I was working with `UpsertRange` by making a generic function, heres' my sample code: ```c# _db.Set().UpsertRange(page) .On(_ => pk(_)) .WhenMatched(_ => whenMatched()) .Run(); ``` But I throws an expception:...

question

Hi, **could you please add an UPDLOCK hint into generated SQL merge query?** currently an upsert operation is translated into this SQL code for MSSQL server. `MERGE INTO [StateChangeSnapshots] WITH...

question

Hey, first of all, great work on the library! I'd like to remove entities from source table that didn't happen to be found during merge. Is there an API for...

Interest check
discussion

The InMemory provider puts entities into the change tracker, so that code that works on a real database fails when using the InMemory provider. For example: ```csharp await context.Upsert(new Thing...

Suggesion by @APIWT : @artiomchi maybe what you could do is have a way to register custom expressions that would be implemented on a per database driver basis. Then there...

enhancement

Add optional configuration option to enable generic expression compilation, and create a page with instructions on how to handle/report new expressions that aren't handled right now

enhancement

To do this, I'll probably extract the core of the engine in a "Core" project, and have a separate NuGet package for the non core EF support

enhancement

Added ignore null constants in update expression. Fixes: #130

With definition of ```` public enum MyEnum { X = 0, Y = 1, } public class MyGroup { [Key] [DatabaseGenerated(DatabaseGeneratedOption.None)] public long MyId; public MyEnum en; } ```` `MyGroup`...