Example #1
0
/*----------------------------------------------------*/

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

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

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

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