Detached.Mappers
8.0.5
See the version list below for details.
dotnet add package Detached.Mappers --version 8.0.5
NuGet\Install-Package Detached.Mappers -Version 8.0.5
<PackageReference Include="Detached.Mappers" Version="8.0.5" />
paket add Detached.Mappers --version 8.0.5
#r "nuget: Detached.Mappers, 8.0.5"
// Install Detached.Mappers as a Cake Addin #addin nuget:?package=Detached.Mappers&version=8.0.5 // Install Detached.Mappers as a Cake Tool #tool nuget:?package=Detached.Mappers&version=8.0.5
Maps Dtos directly to entities already attached to a DbContext
Solves disconnected entities, partial updates and automapping in a single step
Getting started
Check getting started on the new wiki.
Play in .Net Fiddle
A couple of examples to check library capabilities without installing anything.
Issues and feedback
Please use GitHub Issues tab to report anything you find using the library. All feedback is welcome, I'll try to prioritize and fix everything, but I have limited personal time to work on this.
Changes & Breaking Changes
Please take a look at the new list here.
PR your test!
Fork the project and send me a PR with your tests in the Contrib folder and I will include them so that in the future I won�t break your solution with changes. And I'll make it pass if they are broken because of an issue. I know the library needs ton more of tests, but resources here are limited. Sorry and thanks for your contribution!
Urgent issues
If something is blocking your project and you need help asap, contact me at my e-mail.
Donations & Support
If you like my work and want to Buy me a Coffee, that would be awesome! (mail me if that doesn't work for you)
Thanks for your feedback and kindly donations!:
- @RobertInDotNET and the entire team of SysTec Computer GmbH (https://www.systec-computer.de/)
- @traiannemes
- @MichaelM223
- @heyadamhey
And thanks to all the people who gave it a try and reported issues! Thanks for your help and patience.
Related tools
Other packages built to provide features to the mapper:
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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 is compatible. 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 is compatible. 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. |
-
net6.0
- Detached.Annotations (>= 8.0.5)
- Detached.PatchTypes (>= 8.0.0)
- Detached.RuntimeTypes (>= 8.0.0)
- Humanizer (>= 2.14.1)
- Microsoft.Extensions.Caching.Memory (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.1)
- System.ComponentModel.Annotations (>= 5.0.0)
-
net7.0
- Detached.Annotations (>= 8.0.5)
- Detached.PatchTypes (>= 8.0.0)
- Detached.RuntimeTypes (>= 8.0.0)
- Humanizer (>= 2.14.1)
- Microsoft.Extensions.Caching.Memory (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.1)
- System.ComponentModel.Annotations (>= 5.0.0)
-
net8.0
- Detached.Annotations (>= 8.0.5)
- Detached.PatchTypes (>= 8.0.0)
- Detached.RuntimeTypes (>= 8.0.0)
- Humanizer (>= 2.14.1)
- Microsoft.Extensions.Caching.Memory (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.1)
- System.ComponentModel.Annotations (>= 5.0.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Detached.Mappers:
Package | Downloads |
---|---|
Detached.Mappers.EntityFramework
A general purpose object-oriented mapper. |
|
Detached.Mappers.Json
A general purpose object-oriented mapper. |
|
Detached.Mappers.HotChocolate
A general purpose object-oriented mapper. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.0.6 | 1,923 | 2/8/2024 |
8.0.5 | 192 | 2/7/2024 |
8.0.4 | 166 | 1/31/2024 |
8.0.3 | 157 | 1/30/2024 |
8.0.2 | 1,225 | 1/29/2024 |
8.0.1 | 152 | 1/28/2024 |
8.0.0 | 189 | 1/22/2024 |
8.0.0-preview.1 | 194 | 7/28/2023 |
7.2.1 | 277 | 9/29/2023 |
7.2.0 | 185 | 9/28/2023 |
7.1.6 | 194 | 9/13/2023 |
7.1.5 | 2,028 | 7/28/2023 |
7.1.4 | 221 | 7/27/2023 |
7.1.3 | 258 | 7/26/2023 |
7.1.0 | 369 | 5/2/2023 |
7.0.1 | 1,414 | 2/12/2023 |
7.0.0 | 410 | 2/8/2023 |
6.4.0 | 1,263 | 11/18/2022 |
6.3.0 | 674 | 11/17/2022 |
6.2.1 | 1,113 | 6/11/2022 |
6.2.0 | 763 | 6/11/2022 |
6.1.2 | 4,498 | 6/2/2022 |
6.0.6 | 732 | 5/7/2022 |
6.0.3 | 554 | 4/23/2022 |
6.0.2 | 668 | 2/11/2022 |
6.0.0 | 1,222 | 11/11/2021 |
5.0.24 | 802 | 2/11/2022 |
5.0.12 | 697 | 11/22/2020 |
5.0.10 | 1,058 | 11/16/2020 |
5.0.0-rc.2.20475.8 | 243 | 10/28/2020 |
5.0.0-rc.2.20475.7 | 195 | 10/22/2020 |
5.0.0-rc.2.20475.6 | 265 | 10/20/2020 |
5.0.0-rc.1.20451.13 | 295 | 10/2/2020 |
3.1.15 | 1,445 | 11/22/2020 |
3.1.12 | 637 | 10/28/2020 |
3.1.11 | 623 | 10/23/2020 |
3.1.10 | 628 | 10/22/2020 |
3.1.9 | 699 | 10/20/2020 |