FluentMap.Generators
3.5.0-rc.1
See the version list below for details.
dotnet add package FluentMap.Generators --version 3.5.0-rc.1
NuGet\Install-Package FluentMap.Generators -Version 3.5.0-rc.1
<PackageReference Include="FluentMap.Generators" Version="3.5.0-rc.1" />
<PackageVersion Include="FluentMap.Generators" Version="3.5.0-rc.1" />
<PackageReference Include="FluentMap.Generators" />
paket add FluentMap.Generators --version 3.5.0-rc.1
#r "nuget: FluentMap.Generators, 3.5.0-rc.1"
#:package FluentMap.Generators@3.5.0-rc.1
#addin nuget:?package=FluentMap.Generators&version=3.5.0-rc.1&prerelease
#tool nuget:?package=FluentMap.Generators&version=3.5.0-rc.1&prerelease
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 column shape, including safe permutations of distinct columns, 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(). Explicit delegate ConstructUsing(...) factories remain runtime-only and produce DFM011; strict generated materialization rejects those shapes rather than using a hidden fallback. Missing, mapped-additional or duplicate-column shapes likewise fail deterministically in strict mode.
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.5.0 | 37 | 10/1/2026 |
| 3.5.0-rc.2 | 36 | 10/1/2026 |
| 3.5.0-rc.1 | 42 | 10/1/2026 |
| 3.4.0 | 81 | 9/28/2026 |
| 3.0.3 | 113 | 9/10/2026 |