
Chapter 12. Building the claims scenario 281
l_accidentDesc = accidentDesc;
l_involvedCars = new String[involvedCars.Length];
for (int i = 0; i < involvedCars.Length; i++) {
l_involvedCars[i] = involvedCars[i];
}
}
public String getClaimCode() {
StringBuilder claimCode = new StringBuilder(l_customerID);
claimCode.Append(l_policyID);
claimCode.Append(l_accidentDate.ToShortDateString());
return claimCode.ToString();
}
}
}
Import the Existing CustomerDataAccess class
Similarly, we import the existing Customer Data class by adding an existing item
into the project. We can modify the class without affecting the Web service class
later. A DataException is thrown ...