/// <summary> /// Create a new Budget object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="amount">Initial value of the Amount property.</param> public static Budget CreateBudget(global::System.Int32 id, global::System.Double amount) { Budget budget = new Budget(); budget.ID = id; budget.Amount = amount; return budget; }
/// <summary> /// Deprecated Method for adding a new object to the Budgets EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBudgets(Budget budget) { base.AddObject("Budgets", budget); }