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

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -