private static void Parse(XmlNode ordersXml, out Order[] orders)
 {
     List<Order> orderList = new List<Order>();
     foreach (XmlNode orderNode in ordersXml.ChildNodes)
     {
         Order order = new Order();
         order.Initialize(orderNode);
         orderList.Add(order);
     }
     orders = orderList.ToArray();
 }
 private static void Parse(XmlNode orderNode, Transaction transaction, out Order order)
 {
     order = new Order();
     order.TransactionId = transaction.Id;
     order.Initialize(orderNode);
 }