Dapper Plus Async Action

BulkActionAsync

To perform a bulk operation asynchronously, you need to use the BulkActionAsync method then in the expression, use non-asynchronous methods:

var task = connection.BulkActionAsync(x => x.BulkInsert(invoices));

Try it

Roadmap Async

We are currently under development to offer all methods asynchronously:

  • BulkInsertAsync
  • BulkUpdateAsync
  • BulkDeleteAsync
  • BulkMergeAsync
  • BulkSynchronizeAsync

Meanwhile, the only way is to use the BulkActionAsync method.


Contents