/// <summary> /// Deprecated Method for adding a new object to the Budgets_Incomes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBudgets_Incomes(Budgets_Incomes budgets_Incomes) { base.AddObject("Budgets_Incomes", budgets_Incomes); }
/// <summary> /// Create a new Budgets_Incomes object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="companyId">Initial value of the CompanyId property.</param> /// <param name="creationDate">Initial value of the CreationDate property.</param> /// <param name="budgetId">Initial value of the BudgetId property.</param> /// <param name="budgetIncomeTypeId">Initial value of the BudgetIncomeTypeId property.</param> /// <param name="amount">Initial value of the Amount property.</param> public static Budgets_Incomes CreateBudgets_Incomes(global::System.Int32 id, global::System.Int32 companyId, global::System.DateTime creationDate, global::System.Int32 budgetId, global::System.Int32 budgetIncomeTypeId, global::System.Decimal amount) { Budgets_Incomes budgets_Incomes = new Budgets_Incomes(); budgets_Incomes.Id = id; budgets_Incomes.CompanyId = companyId; budgets_Incomes.CreationDate = creationDate; budgets_Incomes.BudgetId = budgetId; budgets_Incomes.BudgetIncomeTypeId = budgetIncomeTypeId; budgets_Incomes.Amount = amount; return budgets_Incomes; }