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

Popular posts from this blog

ios - Assigning a value out of array of arrays, using section in Xcode -

r - XTS-File doesnt work for quantstrat -