Dapper Plus Extend your IDbConnection with high-performance bulk operations

Downloaded more than
times !
// CONFIGURE & MAP entity
 .Identity(x => x.ID);

// CHAIN & SAVE entity
 .AlsoInsert(order => order.Items);
 .Include(x => x.ThenMerge(order => order.Invoice)
 .AlsoMerge(invoice => invoice.Items))
 .AlsoMerge(x => x.ShippingAddress);

What's Dapper Plus?

Dapper Plus extends your IDbConnection with high-performance bulk operations: BulkInsert, BulkUpdate, BulkDelete, BulkMerge, and more.

Do you offer consulting services?

Yes, you can contact us for special requests: info@zzzprojects.com

Where can I find online examples?

Online examples are now available on .NET Fiddle!

Our achievements

2000+ Customers
75+ Countries
4000+ Requests closed
10 000 000+downloads
1 000 000+daily visitors

What we achieved over the last 4 years has grown beyond our hopes. That motivates us to continue to grow and improve all our projects. Every day, we are committed to listening to our clients to help ease the daily dev workload as much as possible.


Dapper Plus Mapper allow to map the conceptual model (Entity) with the storage model (Database) and configure options to perform Bulk Actions.

Dapper Plus - Mapper Example
// Easy to use
                                 .Identity(x => x.ID)

Bulk Actions

Bulk Actions allow to perform a bulk insert, update, delete or merge and include related child items.

  • Bulk Insert
  • Bulk Update
  • Bulk Delete
  • Bulk Merge
Dapper Plus - Bulk Actions Example
connection.BulkInsert(orders, order => order.Items)
          .BulkInsert(invoices, invoice => invoice.Items)

Also Bulk Actions

Also Bulk Actions allow to perform bulk action with a lambda expression using entities from the last Bulk[Action] or ThenBulk[Action] used.

Dapper Plus - Also Bulk Actions Example
          .AlsoInsert(order => order.Items)
          .AlsoInsert(order => order.Invoice)
          .AlsoInsert(order => order.Invoice.Items);

Then Bulk Actions

Then Bulk Actions is similar to Also Bulk Actions but modify entities used for the next bulk action using a lambda expression.

Dapper Plus - Then Bulk Actions Example
          .AlsoInsert(order => order.Items)
          .ThenInsert(order => order.Invoice)
          .ThenInsert(invoice => invoice.Items);

Include Actions

The Dapper Plus Include method allow resolving issues with multiple "ThenBulk[Action]" method.

Dapper Plus - Include Actions Example
          .Include(x => x.ThenInsert(order => order.Items)
                         .ThenInsert(orderItem => orderItem.Metas))
          .Include(x => x.ThenInsert(order => order.Invoice)
                         .ThenInsert(Invoice => invoice.Items));