AutoMapper.Data 8.0.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package AutoMapper.Data --version 8.0.0
NuGet\Install-Package AutoMapper.Data -Version 8.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="AutoMapper.Data" Version="8.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AutoMapper.Data --version 8.0.0
#r "nuget: AutoMapper.Data, 8.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.
// Install AutoMapper.Data as a Cake Addin
#addin nuget:?package=AutoMapper.Data&version=8.0.0

// Install AutoMapper.Data as a Cake Tool
#tool nuget:?package=AutoMapper.Data&version=8.0.0

AutoMapper

The data extensions to AutoMapper, IDataReader support

CI NuGet MyGet (dev)

Install via initialization:
var mapper = new Mapper(cfg => {
   cfg.AddDataReaderMapping();
   cfg.CreateMap<IDataRecord, MyDto>();
   cfg.CreateMap<IDataRecord, MyOtherDto>();
   // Other config
});

// or with the AutoMapper.Extensions.Microsoft.DependencyInjection package:

services.AddAutoMapper(typeof(Startup), cfg => {
	cfg.AddDataReaderMapping();
});

You will need to configure maps for each IDataRecord DTO mapping.

Using Profile:

There are several ways to configure mapping with an instance of Profile:

  • Create an instance of Profile, call the Profile.AddDataRecordMember extension method on it, and add it to the configuration.
  • Call AddMemberConfiguration().AddMember<DataRecordMemberConfiguration>() on the instance.
  • Call the IMapperConfigurationExpression.AddDataReaderProfile extension method.
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (13)

Showing the top 5 NuGet packages that depend on AutoMapper.Data:

Package Downloads
HwApp.Core

HwApp Core

Business.Lib

https://github.com/xlievo/Business.Lib

YYApp

YYApp Core

Xecms.Core

Core upgraded to 3.1

MayHan.Tools.Standard

美涵科技公共组件

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on AutoMapper.Data:

Repository Stars
chsakell/aspnet5-angular2-typescript
Cross-platform Single Page Applications with ASP.NET Core, Angular 4 & TypeScript
chsakell/aspnet-core-signalr-angular
Real-time applications using ASP.NET Core, SignalR & Angular
postsharp/PostSharp.Samples
PostSharp Samples
Version Downloads Last updated
8.0.0 2,913 2/13/2024
7.0.2 233,792 11/29/2022
7.0.0 1,421 11/26/2022
6.0.0 135,522 2/10/2022
5.0.0 376,842 8/10/2020
4.1.0 322,541 12/6/2019
4.0.0 80,531 8/12/2019
3.0.0 375,121 11/19/2018
2.0.0 75,628 8/7/2018
1.0.1 61,871 2/5/2018
1.0.0 18,805 8/20/2017
1.0.0-beta1 70,545 10/29/2015