IssueRaiser

Merge/Upsert/AddOrUpdate support

In my project I need to insert entity if it does not exist yet, or update it otherwise (somewhat like `UPSERT` in mongodb). As I understand in SQL it can be accomplished using `MERGE`, but I was not able to find `MERGE` in EF Core.

Posted by NickAb on Feb 10, 2016, 2:14 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.5,000 issues0 comments

support (Other)

Merge/Upsert/AddOrUpdate support

NickAbFeb 10, 2016, 2:14 AM

In my project I need to insert entity if it does not exist yet, or update it otherwise (somewhat like `UPSERT` in mongodb). As I understand in SQL it can be accomplished using `MERGE`, but I was not able to find `MERGE` in EF Core.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue