Skip to content

Mapping Conventions

Required package: Dapper.FluentMap

Apply reusable mapping rules when explicit configuration would repeat.

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

FluentMapper.Initialize(config =>
{
config.UseNamingPolicy(NamingPolicy.SnakeCase, caseSensitive: false);
});

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