★ wanayoo — archive 1999 https://github.com/agileobjects/AgileMapperNouvelle recherche | Portail wanayoo
Skip to content
A zero-configuration, highly-configurable object-object mapper with viewable execution plans. Projects queries, transforms, deep clones, updates and merges via extension methods, or a static or instance API. Targets .NET Standard 1.0+ and .NET 3.5+
Branch: master
Clone or download
SteveWilkes Releases/1.3 preview (#128)
* Fixing mapping of derived Collection<T> types / Improving uncommon collection support

* Updating to v.1.3-preview / Adding NuGet package

* Automatically mapping complex type members to null if the only populated member is an identifier, and it isn't given a non-default value. Fixes #121.

* Bugs/issue123 (#124)

* Issue #123: Support for using DerivedTypePair configuration to specify types for target interface members

* Improving detection of join entities / Tidying

* Using Expression -> source member conversion to get child Members of configured source members / Allowing for configured, derived to-interface mapping

* Setting ObjectMappingData.DeclaredTypeMappingData when creating a new mapping data for a ToTarget() mapping

* Preventing configured member matching reaching up past an entry point

* Using MapperData.OriginalMapperData to store original ToTarget() mapper datas and find entry point candidates

* Features/typed to target (#126)

* Adding typed .ToTarget() method to allow single-configuration setup of derived type pairing and to-target data source

* Erroring if unconstructable derived type specified in pairing

* Updating ToTarget documentation

* Updating release notes

* Updating to v1.3-preview2 and adding NuGet package

* Adding .AndWhenMapping configuration reset option to MappingConfigContinuation / Support for configuring data sources for ToTarget members

* Bugs/issue125 (#127)

* Adding test coverage for nested runtime-typed members, re: #125

* Tidying

* Using existing ObjectMapperData for repeated mapping runtime-Typed child mapping

* Adding simple type short-circuits to MapChild calls

* Short-circuiting simple-Type -> object mappings / Removing SimpleTypeMappingExpressionFactory as all simple target-Type mapping scenarios now handled in-mapper

* Organising projects into folders

* Updating to v1.3

* Adding v1.3 NuGet package
Latest commit a0ee13d Apr 3, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
AgileMapper.PerformanceTester.Net45 Releases/1.2 (#119) Feb 25, 2019
AgileMapper.PerformanceTester.NetCore21
AgileMapper.PerformanceTesting Releases/1.2 (#119) Feb 25, 2019
AgileMapper.UnitTests.Common Releases/1.1.0 (#117) Jan 11, 2019
AgileMapper.UnitTests.MoreTestClasses Mapping configurations improvements (#78) Jul 31, 2018
AgileMapper.UnitTests.Net35 Releases/1.2 (#119) Feb 25, 2019
AgileMapper.UnitTests.NetCore Updating packages Nov 18, 2018
AgileMapper.UnitTests.NetCore2.1 Releases/1.2 (#119) Feb 25, 2019
AgileMapper.UnitTests.NetCore2.2 Releases/1.2 (#119) Feb 25, 2019
AgileMapper.UnitTests.NetCore2 Updating packages Nov 18, 2018
AgileMapper.UnitTests.NonParallel Releases/1.2 (#119) Feb 25, 2019
AgileMapper.UnitTests.Orms.EFCore2.NetCore2 Updating packages Nov 18, 2018
AgileMapper.UnitTests.Orms.Ef5.LocalDb Releases/1.2 (#119) Feb 25, 2019
AgileMapper.UnitTests.Orms.Ef5 Releases/1.2 (#119) Feb 25, 2019
AgileMapper.UnitTests.Orms.Ef6.LocalDb Releases/1.2 (#119) Feb 25, 2019
AgileMapper.UnitTests.Orms.Ef6 Releases/1.2 (#119) Feb 25, 2019
AgileMapper.UnitTests.Orms.EfCore1 Releases/1.2 (#119) Feb 25, 2019
AgileMapper.UnitTests.Orms.EfCore2 Releases/1.2 (#119) Feb 25, 2019
AgileMapper.UnitTests.Orms Releases/1.2 (#119) Feb 25, 2019
AgileMapper.UnitTests Releases/1.3 preview (#128) Apr 3, 2019
AgileMapper Releases/1.3 preview (#128) Apr 3, 2019
NuGet Releases/1.3 preview (#128) Apr 3, 2019
docs/src Releases/1.3 preview (#128) Apr 3, 2019
.gitignore Nesting Mappers and MapperDatas inside parent objects instead of cach… Oct 15, 2016
AgileMapper.sln Releases/1.3 preview (#128) Apr 3, 2019
AgileMapper.sln.DotSettings Service provider support (#75) Jul 29, 2018
AgileMapper.snk Support and test coverage for use in partial trust / Signing assembly Nov 12, 2016
CommonAssemblyInfo.cs Updating to v1.1 Jan 11, 2019
LICENCE.md Updating to v1.1 Jan 11, 2019
NuGetPack.bat Updating .NET Standard project information / Updating output path of … Mar 12, 2017
README.md Updating links to point to ReadTheDocs Nov 27, 2018
VersionInfo.cs Releases/1.3 preview (#128) Apr 3, 2019
common.props Releases/1.3 preview (#128) Apr 3, 2019
mkdocs.yml Minifying js and css, updating styles Dec 1, 2018

README.md

AgileMapper

NuGet version

AgileMapper is a zero-configuration, highly-configurable object-object mapper with viewable execution plans. It projects queries, transforms, deep clones, updates and merges via extension methods, or a static or instance API. It targets .NET Standard 1.0+ and .NET 3.5+

You can use it to create new objects:

var customerDto = Mapper.Map(customer).ToANew<CustomerDto>();

...project queries:

var customerDtos = await context
    .Customers
    .Project().To<CustomerDto>()
    .ToArrayAsync();

...perform id-aware updates:

Mapper.Map(customerViewModel).Over(customer);

...and merges:

Mapper.Map(customerOne).OnTo(customerTwo);

It's available via NuGet and licensed with the MIT licence. Check out the documentation for more information!

You can’t perform that action at this time.