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 (>= 11.0.1 && < 12.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

19 total downloads
0 downloads for version 6.1.0
Download (18.1 KB)
Download symbols (11.07 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
6.1.0 18.1 KB Thu, 10 Feb 2022 10:33:25 GMT 0
6.0.0 18.09 KB Thu, 10 Feb 2022 10:28:34 GMT 0
5.0.0 32.73 KB Mon, 10 Aug 2020 13:28:35 GMT 1
4.1.0 32.74 KB Sat, 08 Aug 2020 13:15:18 GMT 3
4.0.0 32.58 KB Fri, 06 Dec 2019 07:07:35 GMT 1
3.0.0 32.82 KB Mon, 22 Jul 2019 05:39:02 GMT 1
2.0.0 47.02 KB Tue, 07 Aug 2018 15:52:37 GMT 1
1.0.1 32.03 KB Tue, 07 Aug 2018 15:12:22 GMT 1
1.0.0 16.91 KB Sun, 20 Aug 2017 02:37:10 GMT 3
1.0.0-ci-00004 16.95 KB Tue, 13 Jun 2017 14:21:38 GMT 7
1.0.0-ci-00003 16.75 KB Tue, 13 Jun 2017 12:55:22 GMT 1