Detached.Mappers
9.0.1
dotnet add package Detached.Mappers --version 9.0.1
NuGet\Install-Package Detached.Mappers -Version 9.0.1
<PackageReference Include="Detached.Mappers" Version="9.0.1" />
paket add Detached.Mappers --version 9.0.1
#r "nuget: Detached.Mappers, 9.0.1"
// Install Detached.Mappers as a Cake Addin #addin nuget:?package=Detached.Mappers&version=9.0.1 // Install Detached.Mappers as a Cake Tool #tool nuget:?package=Detached.Mappers&version=9.0.1
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 was computed. 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. net9.0 is compatible. |
-
net6.0
- Detached.Mappers.Annotations (>= 9.0.1)
- Detached.PatchTypes (>= 8.0.0)
- Detached.RuntimeTypes (>= 8.0.0)
- Humanizer (>= 2.14.1)
- Microsoft.Extensions.Caching.Memory (>= 9.0.0)
- Microsoft.Extensions.Options (>= 9.0.0)
- System.ComponentModel.Annotations (>= 5.0.0)
-
net8.0
- Detached.Mappers.Annotations (>= 9.0.1)
- Detached.PatchTypes (>= 8.0.0)
- Detached.RuntimeTypes (>= 8.0.0)
- Humanizer (>= 2.14.1)
- Microsoft.Extensions.Caching.Memory (>= 9.0.0)
- Microsoft.Extensions.Options (>= 9.0.0)
- System.ComponentModel.Annotations (>= 5.0.0)
-
net9.0
- Detached.Mappers.Annotations (>= 9.0.1)
- Detached.PatchTypes (>= 8.0.0)
- Detached.RuntimeTypes (>= 8.0.0)
- Humanizer (>= 2.14.1)
- Microsoft.Extensions.Caching.Memory (>= 9.0.0)
- Microsoft.Extensions.Options (>= 9.0.0)
- System.ComponentModel.Annotations (>= 5.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Detached.Mappers:
Package | Downloads |
---|---|
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 |
---|---|---|
9.0.1 | 82 | 12/10/2024 |
9.0.0 | 81 | 12/9/2024 |
8.0.6 | 2,502 | 2/8/2024 |
8.0.5 | 199 | 2/7/2024 |
8.0.4 | 173 | 1/31/2024 |
8.0.3 | 162 | 1/30/2024 |
8.0.2 | 1,240 | 1/29/2024 |
8.0.1 | 161 | 1/28/2024 |
8.0.0 | 194 | 1/22/2024 |
8.0.0-preview.1 | 197 | 7/28/2023 |
7.2.1 | 282 | 9/29/2023 |
7.2.0 | 192 | 9/28/2023 |
7.1.6 | 201 | 9/13/2023 |
7.1.5 | 2,170 | 7/28/2023 |
7.1.4 | 228 | 7/27/2023 |
7.1.3 | 263 | 7/26/2023 |
7.1.0 | 375 | 5/2/2023 |
7.0.1 | 1,818 | 2/12/2023 |
7.0.0 | 415 | 2/8/2023 |
6.4.0 | 1,305 | 11/18/2022 |
6.3.0 | 694 | 11/17/2022 |
6.2.1 | 1,118 | 6/11/2022 |
6.2.0 | 768 | 6/11/2022 |
6.1.2 | 4,503 | 6/2/2022 |
6.0.6 | 737 | 5/7/2022 |
6.0.3 | 559 | 4/23/2022 |
6.0.2 | 673 | 2/11/2022 |
6.0.0 | 1,231 | 11/11/2021 |
5.0.24 | 807 | 2/11/2022 |
5.0.12 | 704 | 11/22/2020 |
5.0.10 | 1,065 | 11/16/2020 |
5.0.0-rc.2.20475.8 | 246 | 10/28/2020 |
5.0.0-rc.2.20475.7 | 198 | 10/22/2020 |
5.0.0-rc.2.20475.6 | 268 | 10/20/2020 |
5.0.0-rc.1.20451.13 | 300 | 10/2/2020 |
3.1.15 | 1,452 | 11/22/2020 |
3.1.12 | 644 | 10/28/2020 |
3.1.11 | 630 | 10/23/2020 |
3.1.10 | 635 | 10/22/2020 |
3.1.9 | 706 | 10/20/2020 |