v7.1.0
Download the library here
- ADDED:
DapperPlusContext
now inherits from theIDisposable
interface - ADDED: Support to pass bulk options via variable
// from mapping
var bulkOptionsGeneric = new BulkOperationOptions<Customer>();
bulkOptionsGeneric.ColumnPrimaryKeyExpression = x => x.CustomerID;
DapperPlusManager.Entity<Customer>().UseBulkOptions(bulkOptionsGeneric);
// from connection
var bulkOptions = new BulkOperationOptions();
bulkOptions.BatchTimeout = 90;
connection.UseBulkOptions(bulkOptions).BulkInsert(customers);
- REMOVED: Unnecessary dependency for .NET 8 version:
Microsoft.CSharp
Trial unlocked until the end of December