I'm using Onion Architecture and PetaPoco micro-orm at my infrastructure layer. How can I map a domain entity from core layer to a petapoco object to access the data via petapoco?
Asked
Active
Viewed 226 times
0
-
Check this link might be useful :http://www.toptensoftware.com/blog/posts/115-PetaPoco-Mapping-One-to-Many-and-Many-to-One-Relationships – Pankaj Gupta Jul 29 '16 at 08:05
-
normal domain entity to core layer mapping you can access through automapper package – Pankaj Gupta Jul 29 '16 at 08:06
-
Automapper FTW. https://docs.automapper.org/en/stable/Getting-started.html – Jim G. Sep 29 '22 at 16:32