Answer the question
In order to leave comments, you need to log in
Automapper - Is it possible to ignore the mapping of some property after the mapping map has been created?
Good afternoon!
Is it possible to ignore the mapping of some property after the mapping map has been created?
This is necessary for those cases when I create a new object, for example
cfg.CreateMap();
mapping is configured;
in one of the methods I want the Id field to be ignored, and in the other methods not to be ignored.
How can I do this?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question