Replies: 1 comment 1 reply
-
There are comments in the source describing why. Running some of the tests will make it clear. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
If I want to map an expression from source (DTO) to target (Entity), why the mapping definition has to be provided in the direction destination to source instead of source to destination?
Example:
this works, but why the mapping has to be provided in this direction "
cfg.CreateMap<TenantEntity, TenantDto>();
" it is an expression without assignments so why can't AutoMapper deal with this: "cfg.CreateMap<TenantDto, TenantEntity>();
"Beta Was this translation helpful? Give feedback.
All reactions