Exemple #1
0
        public void Execute(object parameter)
        {
            _catalog.Delete(_orderMasterDetailsViewModel.ItemViewModelSelected.DomainObject.Key);

            _orderMasterDetailsViewModel.ItemViewModelSelected = null;

            _orderMasterDetailsViewModel.RefreshOrderItemViewModelCollection();
            _catalog.Save();
        }
Exemple #2
0
 public void Execute(object parameter)
 {
     _catalog.Create(new Orders(_orderMasterDetailsViewModel.ItemViewModelSelected.CaseOwner,
                                _orderMasterDetailsViewModel.ItemViewModelSelected.OrderName,
                                _orderMasterDetailsViewModel.ItemViewModelSelected.OrderInfo,
                                _orderMasterDetailsViewModel.ItemViewModelSelected.Price,
                                _orderMasterDetailsViewModel.ItemViewModelSelected.Materials,
                                _orderMasterDetailsViewModel.ItemViewModelSelected.Production,
                                _orderMasterDetailsViewModel.ItemViewModelSelected.Measurements,
                                _orderMasterDetailsViewModel.ItemViewModelSelected.NumberOfItems,
                                _orderMasterDetailsViewModel.ItemViewModelSelected.DeliveryInfo,
                                _orderMasterDetailsViewModel.ItemViewModelSelected.Media1,
                                _orderMasterDetailsViewModel.ItemViewModelSelected.Media2,
                                _orderMasterDetailsViewModel.ItemViewModelSelected.Laminat1,
                                _orderMasterDetailsViewModel.ItemViewModelSelected.Laminat2,
                                _orderMasterDetailsViewModel.ItemViewModelSelected.Measurements2,
                                _orderMasterDetailsViewModel.ItemViewModelSelected.DtpPrice,
                                _orderMasterDetailsViewModel.ItemViewModelSelected.SpecialOrderInfo));
     _orderMasterDetailsViewModel.RefreshOrderItemViewModelCollection();
     _catalog.Save();
 }
Exemple #3
0
 public void Execute(object parameter)
 {
     _orderMasterDetailsViewModel.RefreshOrderItemViewModelCollection();
 }