Hi I am trying to use Automapper 6 and want to ignore records based on specific value in a field. I wish there was a way to skip records like so:
CreateMap<CsfbFile, Common.Entities.FuturesExtract>()
.ForMember(dest => dest, opt => opt.Skip(source => source.Ccy == "BASE CURRENCY GRAND TOTAL"))
.ForMember(dest => dest.OptionValue, m => m.ResolveUsing(s => s.OptionsLmv + s.OptionsSmv));
Is there a way to do this ? Thanks