public static BulkSyncResult <T> BulkSync <T>(this DbContext context, IEnumerable <T> entities, BulkSyncOptions <T> options)
 {
     return(BulkSyncResult <T> .Map(InternalBulkMerge(context, entities, options)));
 }
Example #2
0
 public async static Task <BulkSyncResult <T> > BulkSyncAsync <T>(this DbContext context, IEnumerable <T> entities, BulkSyncOptions <T> options, CancellationToken cancellationToken = default)
 {
     return(BulkSyncResult <T> .Map(await InternalBulkMergeAsync(context, entities, options, cancellationToken)));
 }