Sunday, 15 September 2013

c# - How create distinct automapping? -



c# - How create distinct automapping? -

mapper.createmap<product, selectlistoptionitem>() .formember(dest => dest.text, opt => opt.mapfrom(src => src.description)) .formember(dest => dest.value, opt => opt.mapfrom(src => src.id));

i need utilize distinct product.typeid

c# automapper

No comments:

Post a Comment