public override void SetEntity(BudgetItem entity)
        {
            base.SetEntity(entity);

            if (_entity.ParentItem != null)
            {
                _ParentItem = new BudgetItemViewModel(_entity.ParentItem);
            }
        }
Esempio n. 2
0
 public void Initialize(BudgetItemViewModel sourceBudgetItemVM)
 {
     SourceBudgetItem = sourceBudgetItemVM ?? throw new ArgumentNullException("Arg sourceBudgetItemVM is null!");
     ShipOwnerAvaibleCollectionInitialize();
     CopyCommand.InvalidateCanExecute();
 }