コード例 #1
0
        private void LoadSelectedOrder(object orderId)
        {
            OrderInfoDto order = null;

            using (IUnitOfWork uow = UnitOfWorkFactory.Instance.Start(DataStoreResolver.CRMDataStoreKey))
            {
                OrderFacade facade = new OrderFacade(uow);
                order = facade.RetrieveOrderInfo(orderId, new OrderInfoConverter());
                order.OrderCommands = facade.GetOrderCommands(order.StatusId);
            }

            LoadOrderInfo(order);
        }