-
Notifications
You must be signed in to change notification settings - Fork 22
Home
Leonardo Porro edited this page Feb 8, 2023
·
52 revisions
After years of developing data applications using C# and relational databases I ran into the same issues over and over again:
- Attaching entities coming from web request to the DbContext
- Performing partial updates, given that there is no undefined value in C#.
- Auto mapping tons of DTOs
Tried different solutions such as:
- GraphDiff which is great but doesn't work for .NET Core and it's performance can be improved
- AutoMapper that doesn't handle ORMs very well and after version 9.0 where all mappings has to be defined before being used which trimmed most of my ideas.
After that I decided to get the best of those tools and try to put them togheter in a library that maps any DTO directly to already attached entities. And this is the result, hope it works for your project!