Skip to content

Instantly share code, notes, and snippets.

View minhan1910's full-sized avatar
🎯
Focusing

Minh An minhan1910

🎯
Focusing
View GitHub Profile
@minhan1910
minhan1910 / EFExtensions.cs
Created June 24, 2023 21:48 — forked from ondravondra/EFExtensions.cs
C# extension for executing upsert (MERGE SQL command) in EF with MSSQL
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
namespace EFExtensions