Skip to content

Generated Mapping

Required package: FluentMap.Generators

Use AddGeneratedMappings for maps declared in the current compilation.

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

FluentMapper.Initialize(config =>
{
config.AddGeneratedMappings();
});

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