public static Task Merge <TEntity>(this DbContext db, TEntity[] data, MergeType mergeType) where TEntity : class => db.Merge(data, new MergeOptions { MergeType = mergeType });
public static Task Merge <TEntity>(this DbContext db, TEntity[] data) where TEntity : class => db.Merge(data, new MergeOptions());