Ignore Columns By Property Name (or Names)
rhoeting opened this issue · comments
rhoeting commented
First off, awesome tool! As an enhancement, would it be possible to overload the Ignore method to pass properties by property name (as a string), or list of names. Passing in property selector is handy, but it'd be nice to pass in strings.
Donny Tian commented
Hi,
Thanks for your attention!
I will add an extension like this:
public static Mapper Ignore<T>(this Mapper mapper, params string[] propertyNames)
Hope this is fine.