GrumpTech.EntityWebApi.AutoMapper 0.1.1

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package GrumpTech.EntityWebApi.AutoMapper --version 0.1.1
                    
NuGet\Install-Package GrumpTech.EntityWebApi.AutoMapper -Version 0.1.1
                    
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="GrumpTech.EntityWebApi.AutoMapper" Version="0.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GrumpTech.EntityWebApi.AutoMapper" Version="0.1.1" />
                    
Directory.Packages.props
<PackageReference Include="GrumpTech.EntityWebApi.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 GrumpTech.EntityWebApi.AutoMapper --version 0.1.1
                    
#r "nuget: GrumpTech.EntityWebApi.AutoMapper, 0.1.1"
                    
#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 GrumpTech.EntityWebApi.AutoMapper@0.1.1
                    
#: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=GrumpTech.EntityWebApi.AutoMapper&version=0.1.1
                    
Install as a Cake Addin
#tool nuget:?package=GrumpTech.EntityWebApi.AutoMapper&version=0.1.1
                    
Install as a Cake Tool

EntityWebApi.AutoMapper

Part of EntityWebApi.

This library automates object mapping through naming conventions, making it easy to map between Entity Framework Core entities and DTOs with minimal configuration.

  • services.AddMapperStore(): Registers the application's mapper store in the dependency injection container, providing a central registry where named mapper configurations can be added, and later retrieved throughout the application.
  • app.AddToMapperStore("EntityMapper", config => {}): Creates and registers a named mapper called EntityMapper, allowing you to define all mapping rules in one place and retrieve the configured mapper later from the mapper store.
  • AddEntityFrameworkCoreCollectionMappers(): Registers collection mappers that correctly update Entity Framework Core collections instead of replacing them. This enables proper add, update, and remove operations on navigation collections.
  • CreateEntityMaps(dataContext, typeStore, "Dto"): Creates mappings from Entity Framework Core entities to DTO classes in the typeStore whose names end with Dto.
  • CreateMapsToEntity(dataContext, typeStore, "PutDto"): Creates mappings from DTO classes in the typeStore whose names end with PutDto to entities.
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
0.1.3 113 8/2/2026
0.1.2 107 7/31/2026
0.1.1 105 7/20/2026
0.1.0 113 7/19/2026