automapperdev - AutoMapper.Data 15.0.0

ADO.NET extensions for AutoMapper

PM> Install-Package AutoMapper.Data -Version 15.0.0 -Source https://www.myget.org/F/automapperdev/api/v3/index.json

Copy to clipboard

> nuget.exe install AutoMapper.Data -Version 15.0.0 -Source https://www.myget.org/F/automapperdev/api/v3/index.json

Copy to clipboard

> dotnet add package AutoMapper.Data --version 15.0.0 --source https://www.myget.org/F/automapperdev/api/v3/index.json

Copy to clipboard
<PackageReference Include="AutoMapper.Data" Version="15.0.0" />
Copy to clipboard
source https://www.myget.org/F/automapperdev/api/v3/index.json

nuget AutoMapper.Data  ~> 15.0.0
Copy to clipboard

> choco install AutoMapper.Data --version 15.0.0 --source https://www.myget.org/F/automapperdev/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "automapperdev" -SourceLocation "https://www.myget.org/F/automapperdev/api/v2"
Install-Module -Name "AutoMapper.Data" -RequiredVersion "15.0.0" -Repository "automapperdev" 
Copy to clipboard

Browse the sources in this package using Visual Studio or WinDbg by configuring the following symbol server URL: https://www.myget.org/F/automapperdev/api/v2/symbolpackage/


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.
  • .NETFramework 8.0
    • AutoMapper (>= 15.0.0 && < 16.0.0)
  • .NETFramework 8.0: 8.0.0.0

Owners

Jimmy Bogard

Authors

Jimmy Bogard

Project URL

https://github.com/AutoMapper/AutoMapper.Data

License

MIT

Tags

AutoMapper

Info

1417 total downloads
22 downloads for version 15.0.0
Download (18.73 KB)
Download symbols (13.62 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
15.0.0 18.73 KB Mon, 03 Nov 2025 15:25:25 GMT 22
9.0.0 18.73 KB Sun, 16 Mar 2025 08:28:41 GMT 83
8.0.0 18.75 KB Tue, 13 Feb 2024 16:53:46 GMT 70
7.0.2 18.75 KB Tue, 13 Feb 2024 16:26:04 GMT 77
7.0.1 18.19 KB Tue, 29 Nov 2022 07:18:07 GMT 82
7.0.0 18.18 KB Tue, 29 Nov 2022 07:19:18 GMT 87
6.1.0 18.09 KB Sat, 26 Nov 2022 04:47:12 GMT 82
6.0.0 18.09 KB Thu, 10 Feb 2022 10:28:34 GMT 85
5.0.0 32.73 KB Mon, 10 Aug 2020 13:28:35 GMT 81
4.1.0 32.74 KB Sat, 08 Aug 2020 13:15:18 GMT 89
4.0.0 32.58 KB Fri, 06 Dec 2019 07:07:35 GMT 84
3.0.0 32.82 KB Mon, 22 Jul 2019 05:39:02 GMT 97
2.0.0 47.02 KB Tue, 07 Aug 2018 15:52:37 GMT 86
1.0.1 32.03 KB Tue, 07 Aug 2018 15:12:22 GMT 100
1.0.0 16.91 KB Sun, 20 Aug 2017 02:37:10 GMT 100
1.0.0-ci-00004 16.95 KB Tue, 13 Jun 2017 14:21:38 GMT 107
1.0.0-ci-00003 16.75 KB Tue, 13 Jun 2017 12:55:22 GMT 85