public BudgetVm CreateBudget(string aBezeichnung) { var lBudget = new BudgetVm(this) { Bezeichnung = aBezeichnung }; this.Budgets.Add(lBudget); if (this.Id >= 0) { // Direkt speichern DataManager.Budget.SaveBudget(lBudget); } return(lBudget); }
internal BuchungVm(BudgetVm aBudgetVm, BuchungRow aRow) { this.Row = aRow; this.mBudgetVm = aBudgetVm; }
internal BuchungVm(BudgetVm aBudgetVm) { this.Row = BuchungRow.InitEmpty(); this.mBudgetVm = aBudgetVm; this.Row.IDBudget = this.mBudgetVm.Id; }
internal DauerauftragVm(BudgetVm aBudgetVm, DauerauftragRow aRow) { this.Row = aRow; this.mBudgetVm = aBudgetVm; }
internal DauerauftragVm(BudgetVm aBudgetVm) { this.Row = DauerauftragRow.InitEmpty(); this.mBudgetVm = aBudgetVm; this.Row.IDBudget = this.mBudgetVm.Id; }