AutoMapper.Data
9.0.0
Prefix Reserved
dotnet add package AutoMapper.Data --version 9.0.0
NuGet\Install-Package AutoMapper.Data -Version 9.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="9.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AutoMapper.Data" Version="9.0.0" />
<PackageReference Include="AutoMapper.Data" />
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 AutoMapper.Data --version 9.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AutoMapper.Data, 9.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 AutoMapper.Data@9.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=AutoMapper.Data&version=9.0.0
#tool nuget:?package=AutoMapper.Data&version=9.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
The data extensions to AutoMapper, IDataReader support
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.AddDataRecordMemberextension method on it, and add it to the configuration. - Call
AddMemberConfiguration().AddMember<DataRecordMemberConfiguration>()on the instance. - Call the
IMapperConfigurationExpression.AddDataReaderProfileextension method.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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.
-
net8.0
- AutoMapper (>= 14.0.0 && < 15.0.0)
NuGet packages (14)
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 |
|---|---|---|
| 9.0.0 | 37,200 | 3/14/2025 |
| 8.0.0 | 495,660 | 2/13/2024 |
| 7.0.2 | 588,903 | 11/29/2022 |
| 7.0.0 | 13,681 | 11/26/2022 |
| 6.0.0 | 228,098 | 2/10/2022 |
| 5.0.0 | 676,839 | 8/10/2020 |
| 4.1.0 | 412,160 | 12/6/2019 |
| 4.0.0 | 99,034 | 8/12/2019 |
| 3.0.0 | 465,301 | 11/19/2018 |
| 2.0.0 | 97,113 | 8/7/2018 |
| 1.0.1 | 74,565 | 2/5/2018 |
| 1.0.0 | 25,596 | 8/20/2017 |
| 1.0.0-beta1 | 77,185 | 10/29/2015 |