Generated Mapping
Required package:
FluentMap.Generators
Problem solved
Section titled “Problem solved”Use AddGeneratedMappings for maps declared in the current compilation.
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”FluentMapper.Initialize(config =>{ config.AddGeneratedMappings();});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.