automapperdev - AutoMapper.Data 6.1.0

ADO.NET extensions for AutoMapper

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

Copy to clipboard

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

Copy to clipboard

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

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

nuget AutoMapper.Data  ~> 6.1.0
Copy to clipboard

> choco install AutoMapper.Data --version 6.1.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 "6.1.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.
  • .NETStandard 2.1
    • AutoMapper (>= 12.0.0 && < 13.0.0)
  • .NETStandard 2.1: 2.1.0.0

Owners

Jimmy Bogard

Authors

Jimmy Bogard

Project URL

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

License

MIT

Tags

AutoMapper

Info

43 total downloads
3 downloads for version 6.1.0
Download (18.09 KB)
Download symbols (11.06 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
8.0.0 18.75 KB Tue, 13 Feb 2024 16:53:46 GMT 0
7.0.2 18.75 KB Tue, 13 Feb 2024 16:26:04 GMT 6
7.0.1 18.19 KB Tue, 29 Nov 2022 07:18:07 GMT 1
7.0.0 18.18 KB Tue, 29 Nov 2022 07:19:18 GMT 1
6.1.0 18.09 KB Sat, 26 Nov 2022 04:47:12 GMT 3
6.0.0 18.09 KB Thu, 10 Feb 2022 10:28:34 GMT 2
5.0.0 32.73 KB Mon, 10 Aug 2020 13:28:35 GMT 2
4.1.0 32.74 KB Sat, 08 Aug 2020 13:15:18 GMT 4
4.0.0 32.58 KB Fri, 06 Dec 2019 07:07:35 GMT 4
3.0.0 32.82 KB Mon, 22 Jul 2019 05:39:02 GMT 2
2.0.0 47.02 KB Tue, 07 Aug 2018 15:52:37 GMT 2
1.0.1 32.03 KB Tue, 07 Aug 2018 15:12:22 GMT 2
1.0.0 16.91 KB Sun, 20 Aug 2017 02:37:10 GMT 4
1.0.0-ci-00004 16.95 KB Tue, 13 Jun 2017 14:21:38 GMT 8
1.0.0-ci-00003 16.75 KB Tue, 13 Jun 2017 12:55:22 GMT 2