public static Task BulkDeleteAsync <T>(this DbContext context, IList <T> entities, BulkConfig bulkConfig = null, Action <decimal> progress = null) where T : class { return(DbContextBulkTransaction.ExecuteAsync(context, entities, OperationType.Delete, bulkConfig, progress)); }
public static void BulkDelete <T>(this DbContext context, IList <T> entities, BulkConfig bulkConfig = null, Action <decimal> progress = null) where T : class { DbContextBulkTransaction.Execute(context, entities, OperationType.Delete, bulkConfig, progress); }