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