public PhoneNumber(PhoneNumber clonedNumber)
 {
     if (clonedNumber == null)
     {
         return;
     }
     Number = clonedNumber.Number;
     PhoneType = clonedNumber.PhoneType;
 }
 private PhoneNumbers getPhoneNumbers(SqlDataReader reader, int count, List<string> mappings)
 {
     PhoneNumbers numbers = new PhoneNumbers();
     for (int i = 0; i < count; i++)
     {
         try {
             PhoneNumber phone = new PhoneNumber();
             phone.Number = reader[mappings[i]].ToString();
             phone.PhoneType = i + 1;
             numbers.PhoneNumber.Add(phone);
         }
         catch(Exception ex)
         {
             throw new WebFaultException<string>(String.Format("Column <{0}> not found in query results: {1}", mappings[i], ex.Message), HttpStatusCode.InternalServerError);
         }
     }
     return numbers;
 }