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