示例#1
0
 /// <summary>
 /// Maps shoes and description
 /// </summary>
 /// <param name="data"></param>
 /// <param name="rowNum"></param>
 /// <returns></returns>
 public ShoeTrackerDto MapShoeAndDescription(SqlReaderWrapper data, int rowNum)
 {
     return(new ShoeTrackerDto()
     {
         Date = data.GetDate("Date"),
         Size = data.GetInt("Size"),
         Price = data.GetDecimal("Price"),
         ShoeTypeId = data.GetInt("ShoeTypeId"),
         ChildName = data.GetString("ChildName"),
         Link = data.GetString("Link"),
         Description = data.GetString("Description")
     });
 }