Exemple #1
0
/*----------------------------------------------------*/

	public void Delete_BudgetItem(cBudgetItem aBudgetItem) {
		this.DataObjectFactory.DeleteData(aBudgetItem);
	}
Exemple #2
0
/*----------------------------------------------------*/

	public static Double Get_Amount(cBudgetItem aBudgetItem, Double aDefault) 
	{
		return aBudgetItem.GetPropertyInt("BudgetItemID", 0) == 0 ? aDefault : aBudgetItem.Amount;
	}
Exemple #3
0
/*----------------------------------------------------*/

	public void Save_BudgetItem(cBudgetItem aBudgetItem) {
		this.DataObjectFactory.SaveDataObject(aBudgetItem);
		//this.DataObjectFactory.DeleteData()
	}
Exemple #4
0
/*====================================================*/

	public static Double Get_Amount(cBudgetItem aBudgetItem) {
		return aBudgetItem == null ? 0.0 : aBudgetItem.Amount;
	}