Maxsys.Mapping.AutoMapper 17.0.0

dotnet add package Maxsys.Mapping.AutoMapper --version 17.0.0
                    
NuGet\Install-Package Maxsys.Mapping.AutoMapper -Version 17.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Maxsys.Mapping.AutoMapper" Version="17.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Maxsys.Mapping.AutoMapper" Version="17.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Maxsys.Mapping.AutoMapper" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Maxsys.Mapping.AutoMapper --version 17.0.0
                    
#r "nuget: Maxsys.Mapping.AutoMapper, 17.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Maxsys.Mapping.AutoMapper@17.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Maxsys.Mapping.AutoMapper&version=17.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Maxsys.Mapping.AutoMapper&version=17.0.0
                    
Install as a Cake Tool

<div align="center"> <img src="logo.png" alt="drawing" width="128" /> <h1>Maxsys Mapping — AutoMapper</h1> </div>

License

Maxsys.Mapping.AutoMapper é o adaptador AutoMapper para as abstrações de mapeamento do Maxsys.Core (IObjectMapper e IQueryProjector).

A partir da v17, Maxsys.Core e Maxsys.Data não dependem de AutoMapper: serviços (ModelServiceBase) usam IObjectMapper e repositórios (RepositoryBase/JoinRepositoryBase) usam IQueryProjector. Este pacote fornece a implementação dessas interfaces via AutoMapper (Map / ProjectTo), com auto-registro de Profiles por scan de assembly.

⚙️ Uso

// Registra AutoMapper (scan de Profiles no assembly de IApplicationEntry)
// + IObjectMapper/IQueryProjector:
services.AddMaxsysAutoMapper<IApplicationEntry>();

// Overloads: múltiplos assemblies e configuração adicional
services.AddMaxsysAutoMapper(typeof(IApplicationEntry).Assembly, typeof(IOtherEntry).Assembly);
services.AddMaxsysAutoMapper(cfg => cfg.AllowNullCollections = true, typeof(IApplicationEntry).Assembly);

Seus Profiles continuam AutoMapper puro — nada muda na forma de mapear.

💡 Não usa AutoMapper? Implemente IObjectMapper/IQueryProjector você mesmo (ex.: Mapster, projeções manuais) e registre no DI — Maxsys.Core/Maxsys.Data não sabem a diferença.

🎯 Target

.NET 10

🔗 Dependências

  • Maxsys.Core
  • AutoMapper 14.0.0 (última versão gratuita — versões posteriores exigem licença paga)

✒️ Autores

@MaxDolabella

🗝️ Licença

Este código possui licença MIT e está liberado para uso da maneira que se desejar.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
17.0.0 86 8/17/2026