示例#1
0
 public static images toimage(this imageDTO img1)
 {
     return(new images()
     {
         id = img1.id,
         url = img1.url,
         skuId = img1.skuId
     });
 }
示例#2
0
 public static void Mapto3(this images img, imageDTO img1)
 {
     img.url   = img1.url;
     img.skuId = img1.skuId;
 }