Compatibility Considerations
Required package:
Dapper.FluentMap
Problem solved
Section titled “Problem solved”Check target frameworks, dependency ranges, providers, and global state.
When to use it
Section titled “When to use it”Use this capability when the column shape and .NET model should remain separated by explicit, reviewable configuration.
Example
Section titled “Example”public sealed class CustomerMap : EntityMap<Customer>{ public CustomerMap() { Map(x => x.Id).ToColumn("customer_id"); Map(x => x.Name).ToColumn("customer_name"); }}How it works
Section titled “How it works”FluentMap registers typed metadata and applies it through the matching materialization path. SQL, connections, parameters, and lifecycle remain responsibilities of the application and Dapper.
Dapper baseline migration
Section titled “Dapper baseline migration”The minimum supported Dapper version is now 2.1.89; 2.1.79 is no longer supported. Check direct and transitive package resolution, refresh lock files, and rerun provider-backed tests. The range [2.1.89,3.0.0) is a minimum constraint, not an exact pin. General provider certification does not automatically certify every provider-specific DateOnly/TimeOnly CLR shape.