Example #1
0
 public static DocumentComboVO ToDocumentComboVO(this DocumentVO data)
 {
     return(config.CreateMapper().Map <DocumentVO, DocumentComboVO>(data));
 }
Example #2
0
 /// <summary>
 /// convert entity
 /// </summary>
 /// <param name="result">VO数据内容</param>
 /// <returns>返回entity</returns>
 public static DocumentEntity ToDocumentEntity(this DocumentVO result)
 {
     return(config.CreateMapper().Map <DocumentVO, DocumentEntity>(result));
 }