FluentMap.Generators
3.0.3
dotnet add package FluentMap.Generators --version 3.0.3
NuGet\Install-Package FluentMap.Generators -Version 3.0.3
<PackageReference Include="FluentMap.Generators" Version="3.0.3" />
<PackageVersion Include="FluentMap.Generators" Version="3.0.3" />
<PackageReference Include="FluentMap.Generators" />
paket add FluentMap.Generators --version 3.0.3
#r "nuget: FluentMap.Generators, 3.0.3"
#:package FluentMap.Generators@3.0.3
#addin nuget:?package=FluentMap.Generators&version=3.0.3
#tool nuget:?package=FluentMap.Generators&version=3.0.3
FluentMap.Generators
Build-time source generator for Dapper.FluentMap mapping registration and supported row materializers.
The generator discovers eligible IEntityMap<TEntity> implementations declared in the current compilation and emits an AddGeneratedMappings() extension method that registers them through the existing AddMap<TMap>() / AddProfile<TMap>() APIs. For explicit maps with literal columns and supported deterministic construction, it also registers generated IDataRecord -> entity materializers for the matching ordered column shape, including flat properties, nested object paths and constructor-built Value Objects.
dotnet add package FluentMap.Generators
The NuGet PackageId is FluentMap.Generators. The source-generator assembly remains Dapper.FluentMap.Generators.dll.
using Dapper.FluentMap;
FluentMapper.Initialize(config =>
{
config.AddGeneratedMappings();
});
Generated registration avoids reflection-based assembly scanning for maps in the current compilation. It does not scan referenced assemblies, execute map constructors during generation, parse SQL or replace FluentMapper.Validate(). Unsupported maps and unexpected column shapes continue to use the runtime fallback.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.3 | 39 | 9/10/2026 |