![]() |
VOOZH | about |
dotnet add package PanoramicData.Mapper --version 10.0.29
NuGet\Install-Package PanoramicData.Mapper -Version 10.0.29
<PackageReference Include="PanoramicData.Mapper" Version="10.0.29" />
<PackageVersion Include="PanoramicData.Mapper" Version="10.0.29" />Directory.Packages.props
<PackageReference Include="PanoramicData.Mapper" />Project file
paket add PanoramicData.Mapper --version 10.0.29
#r "nuget: PanoramicData.Mapper, 10.0.29"
#:package PanoramicData.Mapper@10.0.29
#addin nuget:?package=PanoramicData.Mapper&version=10.0.29Install as a Cake Addin
#tool nuget:?package=PanoramicData.Mapper&version=10.0.29Install as a Cake Tool
A comprehensive, MIT-licensed, API-compatible replacement for AutoMapper.
👁 Nuget
👁 Nuget
👁 License
👁 Codacy Badge
PanoramicData.Mapper is a comprehensive, API-compatible replacement for AutoMapper with convention-based object mapping, explicit member configuration, and advanced features including mapping inheritance, value resolvers, type converters, open generics, EF Core projection, and more. It is a clean-room, black-box reimplementation — no AutoMapper source code was referenced.
Profile and call CreateMap<TSource, TDestination>()IMappingAction<TSrc, TDest> pre/post-mapping callbacks.ReverseMap() creates the inverse mapping automaticallyITypeConverter<TSrc, TDst> type, or instance for full-type conversion.ForPath(d => d.Inner.Prop, opt => ...) for deep nested member configuration.ForCtorParam("name", opt => ...) for constructor parameter mappingIValueResolver<TSrc, TDst, TMember> for custom resolution logicInclude, IncludeBase, IncludeAllDerived for polymorphic hierarchies.AddTransform<T>(expr) for per-type value transformsCreateMap(typeof(Source<>), typeof(Dest<>)) for generic type mappings.MaxDepth(n) to limit recursive mapping depthmapper.Map<TDest>(source) creates a new destinationmapper.Map(source, destination) updates an existing objectIQueryable<T>.ProjectTo<TDest>(configurationProvider) for EF Core SQL projectionPanoramicData.Mapper.Configuration.Annotations.IgnoreAttributemapper.Map<List<Dest>>(sourceList) maps collections automatically when an element-type map is registeredCustomerName → Customer.Name); also matches GetX() methodsAddAutoMapper() extension methods for IServiceCollectiondotnet add package PanoramicData.Mapper
using PanoramicData.Mapper;
// Define a profile
public class MyProfile : Profile
{
public MyProfile()
{
CreateMap<Source, Destination>()
.ForMember(d => d.Secret, opt => opt.Ignore())
.ForMember(d => d.FullName, opt => opt.MapFrom(s => s.FirstName + " " + s.LastName));
}
}
// Configure and use
var config = new MapperConfiguration(cfg => cfg.AddProfile<MyProfile>());
config.AssertConfigurationIsValid();
IMapper mapper = config.CreateMapper();
var dest = mapper.Map<Destination>(source);
// In Program.cs / Startup.cs
services.AddAutoMapper(typeof(MyProfile).Assembly);
// Or with explicit configuration
services.AddAutoMapper(cfg => cfg.AddProfile<MyProfile>());
AutoMapper NuGet package with PanoramicData.Mapperusing directives:
using AutoMapper; → using PanoramicData.Mapper;using AutoMapper.QueryableExtensions; → using PanoramicData.Mapper.QueryableExtensions;using AutoMapper.Configuration.Annotations; → using PanoramicData.Mapper.Configuration.Annotations;AddAutoMapper() DI extension methods and all type names (Profile, IMapper, MapperConfiguration, etc.) remain the sameMIT — see for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on PanoramicData.Mapper:
| Package | Downloads |
|---|---|
|
LogicMonitor.Datamart
LogicMonitor Datamart |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.29 | 1,590 | 4/27/2026 |
| 10.0.28 | 405 | 4/16/2026 |
| 10.0.26 | 224 | 4/16/2026 |
| 10.0.25 | 187 | 4/16/2026 |
| 10.0.24 | 187 | 4/16/2026 |
| 10.0.23 | 236 | 4/9/2026 |
| 10.0.20 | 413 | 4/5/2026 |
| 10.0.19 | 307 | 4/2/2026 |
| 10.0.16 | 265 | 3/31/2026 |
| 10.0.15 | 197 | 3/31/2026 |
| 10.0.14 | 186 | 3/31/2026 |
| 10.0.13 | 464 | 3/19/2026 |
| 10.0.12 | 265 | 3/15/2026 |
| 10.0.11 | 182 | 3/15/2026 |
| 10.0.10 | 188 | 3/15/2026 |
| 10.0.9 | 197 | 3/15/2026 |
| 10.0.8 | 183 | 3/15/2026 |
| 10.0.7 | 189 | 3/15/2026 |
| 10.0.6 | 181 | 3/15/2026 |
| 10.0.5 | 186 | 3/15/2026 |
10.0.29: fix - map interface collection properties (IList of type T, ICollection of type T, IEnumerable of type T) via ForMember MapFrom. See https://github.com/panoramicdata/PanoramicData.Mapper/blob/main/CHANGELOG.md for details.