Exemplo n.º 1
0
 // this function is defined as mapping helper in mapping xml file
 // it is called after the assembler processes the source object
 // you can provide your own custom behavior here
 public void ConversionHelper(ref RecordInfo target, ref Record source)
 {
     // conver this to more friendly format
     target.m_albumDurationText = string.Format("{0}:{1:00}", AlbumDuration / 60, AlbumDuration % 60);
 }