Exemplo n.º 1
0
        private void Initialize(int salesOrderId)
        {
            Model = _service.GetSalesOrderModel(salesOrderId);

            Lines = new ObservableCollection <SalesOrderLineModel>(Model.SalesOrderLines);
            Model.SalesOrderLines = null;

            EditModeChanged += OnEditModeChanged;
        }