Migration Guides — DapperExtensions
L3StableNuGet: v2.0.0Local HEAD: v3.1.0AOT: Full
EricksonLopez.DapperExtensions (2.0.0) consolidates the legacy dapper-extensions-pg repository and adds five additional database dialects (SqlServer, MySql, MariaDb, Oracle, Sqlite).
Migrating from dapper-extensions-pg (1.0.x) to 2.0.0
Section titled “Migrating from dapper-extensions-pg (1.0.x) to 2.0.0”- Swap package IDs: Replace the deprecated
EricksonLopez.DapperExtensions.PostgreSQL(1.0.0/1.0.1) reference withEricksonLopez.DapperExtensions.PostgreSql(2.0.0),EricksonLopez.DapperExtensions(2.0.0), andEricksonLopez.DapperExtensions.DependencyInjection(2.0.0). - Replace raw
IDbTransactionsavepoint mocks (BC-001): Savepoint creation now requiresSystem.Data.Common.DbTransaction. - Keyed resilience pipelines (
BC-002+): Registerservices.AddDapperResiliencePipelines()and resolveIResiliencePipelineby dialect key ("postgresql").
Note on Unreleased Local v3.0.0–v3.1.0 (BC-006–BC-009)
Section titled “Note on Unreleased Local v3.0.0–v3.1.0 (BC-006–BC-009)”Local workspace 3.1.0 (CHANGELOG.md [3.0.0] - 2026-11-09, unpublished on NuGet) introduces BC-006–BC-009 (BulkBuilder<T> identifier validation & parameter chunking, CancellationToken on all PagedQueryExtensions, opt-in CaptureSqlStatements = false enforcement, and UnitOfWork savepoint regex + post-rollback commit guard) plus EricksonLopez.DapperExtensions.Analyzers.