Detached.Mappers
8.0.6
dotnet add package Detached.Mappers --version 8.0.6
NuGet\Install-Package Detached.Mappers -Version 8.0.6
<PackageReference Include="Detached.Mappers" Version="8.0.6" />
paket add Detached.Mappers --version 8.0.6
#r "nuget: Detached.Mappers, 8.0.6"
// Install Detached.Mappers as a Cake Addin #addin nuget:?package=Detached.Mappers&version=8.0.6 // Install Detached.Mappers as a Cake Tool #tool nuget:?package=Detached.Mappers&version=8.0.6
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.6)
- 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.6)
- 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.6)
- 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,454 | 2/8/2024 |
8.0.5 | 187 | 2/7/2024 |
8.0.4 | 165 | 1/31/2024 |
8.0.3 | 154 | 1/30/2024 |
8.0.2 | 1,100 | 1/29/2024 |
8.0.1 | 149 | 1/28/2024 |
8.0.0 | 171 | 1/22/2024 |
8.0.0-preview.1 | 191 | 7/28/2023 |
7.2.1 | 275 | 9/29/2023 |
7.2.0 | 184 | 9/28/2023 |
7.1.6 | 193 | 9/13/2023 |
7.1.5 | 1,932 | 7/28/2023 |
7.1.4 | 220 | 7/27/2023 |
7.1.3 | 257 | 7/26/2023 |
7.1.0 | 368 | 5/2/2023 |
7.0.1 | 1,115 | 2/12/2023 |
7.0.0 | 409 | 2/8/2023 |
6.4.0 | 1,183 | 11/18/2022 |
6.3.0 | 656 | 11/17/2022 |
6.2.1 | 1,109 | 6/11/2022 |
6.2.0 | 761 | 6/11/2022 |
6.1.2 | 4,429 | 6/2/2022 |
6.0.6 | 728 | 5/7/2022 |
6.0.3 | 553 | 4/23/2022 |
6.0.2 | 666 | 2/11/2022 |
6.0.0 | 1,195 | 11/11/2021 |
5.0.24 | 799 | 2/11/2022 |
5.0.12 | 690 | 11/22/2020 |
5.0.10 | 1,057 | 11/16/2020 |
5.0.0-rc.2.20475.8 | 242 | 10/28/2020 |
5.0.0-rc.2.20475.7 | 194 | 10/22/2020 |
5.0.0-rc.2.20475.6 | 264 | 10/20/2020 |
5.0.0-rc.1.20451.13 | 294 | 10/2/2020 |
3.1.15 | 1,442 | 11/22/2020 |
3.1.12 | 636 | 10/28/2020 |
3.1.11 | 622 | 10/23/2020 |
3.1.10 | 627 | 10/22/2020 |
3.1.9 | 698 | 10/20/2020 |