Skip to content

Configuration

Required package: Dapper.FluentMap

Initialize, compose, and validate mappings during application startup.

Use this capability when the column shape and .NET model should remain separated by explicit, reviewable configuration.

FluentMapper.Initialize(config =>
{
config.AddMap<CustomerMap>();
});
FluentMapper.Validate();

FluentMap registers typed metadata and applies it through the matching materialization path. SQL, connections, parameters, and lifecycle remain responsibilities of the application and Dapper.