Dapper Plus Getting Started

What is Dapper Plus?

Dapper Plus is a NuGet library that will extend your IDbConnection and IDbTransaction interface with high-performance bulk operation extension methods:

Those methods are also accessible from the DapperPlusContext.

.NET Core and .NET Framework are supported.

Example

DapperPlusManager.Entity<Invoice>().Identity(x => x.InvoiceID, true);
		
var connection = new SqlConnection(FiddleHelper.GetConnectionStringSqlServer());
		
// Easy to use
connection.BulkInsert(invoices);

// Easy to customize
connection.UseBulkOptions(options => options.InsertIfNotExists = true)
          .BulkInsert(invoices);

Try it

Who is it for?

If you need to make massive importation, have a multi-editing grid, need to synchronize data or just want an easy to use solution to save your entities then Dapper Plus is for you.

Easy to use, easy to customize!

Why should you use it?

Querying your data is very easy with Dapper.

However, how do you save back your entities? You need to either use the execute method or a third-party library like Dapper Plus for an easy to use solution.

Saving your data as fast as possible is very important to make your application responsive, and that's exactly what our library offers.

Oh, we also offer outstanding customer support and hundreds of Online Examples to help you get started.

Database Provider Supported

  • SQL Server 2008+
  • SQL Azure
  • SQL Compact
  • Oracle
  • MySQL
  • PostgreSQL
  • SQLite

Last updated: 2023-02-26
Author:


Contents