AutoMapper.Data 8.0.0

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 (4)

Showing the top 4 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
0x1000000/SqExpress
SqExpress is a sql query builder which allows creating SQL expressions directly in C# code with strong typing and intellisense.
Version Downloads Last updated
8.0.0 100,267 2/13/2024
7.0.2 414,874 11/29/2022
7.0.0 5,447 11/26/2022
6.0.0 183,441 2/10/2022
5.0.0 470,227 8/10/2020
4.1.0 373,235 12/6/2019
4.0.0 85,156 8/12/2019
3.0.0 412,675 11/19/2018
2.0.0 85,721 8/7/2018
1.0.1 66,443 2/5/2018
1.0.0 20,910 8/20/2017
1.0.0-beta1 72,453 10/29/2015