I don't understand this warning: BL Mapping (Mapperly)
The member User on the mapping target type RestauraceNET8.Data.EF.DAL.Entities.Restaurace.RestauraceAkceStolu was not found on the mapping source type RestauraceNET8.Data.EF.BL.DTO.RestauraceDTO.Akce.RestauraceAkceStoluCreateDto
It's my first time trying out Mapperly I don't understand why it can't find the Id of the target
5 Replies
Means the object you map to has property named
User
, while the object you map from does not
So Mapperly doesn't know how to map that propertyPastebin
C# - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
but its a NAV property though?
hmmm
So i just ignore it?
I guess so, yeah
Also One more question regarding DTO mapping do you think using CreateDTO inside another CreateDTO is better than using directly from Entity?
Entity attribute
or what I have currently?