Beispiel #1
0
 private ShippingAddressReportDto ReadShipping(IDataReader reader, ref bool alreadyRead)
 {
     ShippingAddressReportDto retval = null;
     long responseId = reader.GetInt64(0);
     string respAddr1 = GetString(reader, 1);
     string respAddr2 = GetString(reader, 2);
     string respAddr3 = GetString(reader, 3);
     string respAddrCity = GetString(reader, 4);
     string respAddrPostalCode = GetString(reader, 5);
     string respAddrStateOrProvince = GetString(reader, 6);
     string respAddrCountryCode = GetString(reader, 7);
     string respAddrEmail = GetString(reader, 8);
     string respAddrCountryName = GetString(reader, 9);
     /*
      * rs.response_fk, rs.resp_addr_line1, rs.resp_addr_line2, rs.resp_addr_line3, rs.resp_addr_city, rs.resp_addr_postal_cd, rs.resp_addr_st_prov, rs.resp_addr_ctry_code, rs.resp_email
      */
     retval = new ShippingAddressReportDto(respAddr1, respAddr2, respAddr3, respAddrCity, respAddrPostalCode, respAddrStateOrProvince, respAddrCountryCode, respAddrEmail, responseId, respAddrCountryName);
     return retval;
 }
Beispiel #2
0
 public ReportRowDto(BaseDataReportDto baseData, CustomerAnswerReportDto[] dynamicQuestions, ShippingAddressReportDto shippingAddress, QuestionReportDto[] questions)
 {
     DynamicQuestions = dynamicQuestions;
     _shippingAddress = shippingAddress;
     BaseData = baseData;
     Questions = questions;
 }