Ejemplo n.º 1
0
 private void RetrieveData()
 {
     using (IUnitOfWork uow = UnitOfWorkFactory.Instance.Start(DataStoreResolver.CRMDataStoreKey))
     {
         OrderFacade facade   = new OrderFacade(uow);
         OrderDto    instance = facade.RetrieveOrNewOrder(InstanceId, new OrderConverter());
         CurrentInstance         = instance;
         ucIEdit.CurrentInstance = instance;
     }
 }