c# - Automapper map source to dest with custom object -
how can map:
object: (
class cashcasedto { string caseid {get;set;} double casetotalamount {get;set; }
to:
public class cashcase { public string id { get; set; } } public class cashcasedifference { public decimal amount { get; set; } }
i have problem mapping amount
difference.amount
.
what should use? custom value resolver or converter?
this conversion supported default in latest version.
Comments
Post a Comment