AutoMapper.Data
7.0.2
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package AutoMapper.Data --version 7.0.2
NuGet\Install-Package AutoMapper.Data -Version 7.0.2
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="7.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AutoMapper.Data --version 7.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AutoMapper.Data, 7.0.2"
#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=7.0.2 // Install AutoMapper.Data as a Cake Tool #tool nuget:?package=AutoMapper.Data&version=7.0.2
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.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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- AutoMapper (>= 12.0.0 && < 13.0.0)
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 | 91,260 | 2/13/2024 |
7.0.2 | 408,679 | 11/29/2022 |
7.0.0 | 5,306 | 11/26/2022 |
6.0.0 | 182,194 | 2/10/2022 |
5.0.0 | 465,206 | 8/10/2020 |
4.1.0 | 371,445 | 12/6/2019 |
4.0.0 | 84,989 | 8/12/2019 |
3.0.0 | 410,937 | 11/19/2018 |
2.0.0 | 85,274 | 8/7/2018 |
1.0.1 | 66,331 | 2/5/2018 |
1.0.0 | 20,831 | 8/20/2017 |
1.0.0-beta1 | 72,395 | 10/29/2015 |