// copy all rows from a List of SOAP Contracts to a List of serialized data objects // links: // docLink: http://sql2x.org/documentationLink/1c6c6b9c-e201-4590-8c69-d38a0ad2a9f7 public static void ContractListToDataList(List <CrudeFlightIdentifierContract> contractList, List <CrudeFlightIdentifierData> dataList) { foreach (CrudeFlightIdentifierContract contract in contractList) { var data = new CrudeFlightIdentifierData(); CrudeFlightIdentifierService.ContractToData(contract, data); dataList.Add(data); } }