Last active
November 25, 2019 16:52
-
-
Save craigeddy/1dec7a36c06d7ad115e7e38e9c0a3cef to your computer and use it in GitHub Desktop.
How to tell AutoMapper to ignore a destination property
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cfg.CreateMap<T<S>, T<D>>().ForMember(d => d.XYZ, opt => opt.Ignore()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment