/// <summary>
        /// Create a new BudgetItem object.
        /// </summary>
        /// <param name="budgetItemId">Initial value of the BudgetItemId property.</param>
        /// <param name="budgetId">Initial value of the BudgetId property.</param>
        /// <param name="description">Initial value of the Description property.</param>
        /// <param name="amount">Initial value of the Amount property.</param>
        /// <param name="isPaid">Initial value of the IsPaid property.</param>
        /// <param name="datePaid">Initial value of the DatePaid property.</param>
        /// <param name="dueDate">Initial value of the DueDate property.</param>
        public static BudgetItem CreateBudgetItem(global::System.Int32 budgetItemId, global::System.Int32 budgetId, global::System.String description, global::System.Decimal amount, global::System.Boolean isPaid, global::System.DateTime datePaid, global::System.DateTime dueDate)
        {
            BudgetItem budgetItem = new BudgetItem();

            budgetItem.BudgetItemId = budgetItemId;
            budgetItem.BudgetId     = budgetId;
            budgetItem.Description  = description;
            budgetItem.Amount       = amount;
            budgetItem.IsPaid       = isPaid;
            budgetItem.DatePaid     = datePaid;
            budgetItem.DueDate      = dueDate;
            return(budgetItem);
        }
 /// <summary>
 /// Create a new BudgetItem object.
 /// </summary>
 /// <param name="budgetItemId">Initial value of the BudgetItemId property.</param>
 /// <param name="budgetId">Initial value of the BudgetId property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="amount">Initial value of the Amount property.</param>
 /// <param name="isPaid">Initial value of the IsPaid property.</param>
 /// <param name="datePaid">Initial value of the DatePaid property.</param>
 /// <param name="dueDate">Initial value of the DueDate property.</param>
 public static BudgetItem CreateBudgetItem(global::System.Int32 budgetItemId, global::System.Int32 budgetId, global::System.String description, global::System.Decimal amount, global::System.Boolean isPaid, global::System.DateTime datePaid, global::System.DateTime dueDate)
 {
     BudgetItem budgetItem = new BudgetItem();
     budgetItem.BudgetItemId = budgetItemId;
     budgetItem.BudgetId = budgetId;
     budgetItem.Description = description;
     budgetItem.Amount = amount;
     budgetItem.IsPaid = isPaid;
     budgetItem.DatePaid = datePaid;
     budgetItem.DueDate = dueDate;
     return budgetItem;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the BudgetItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBudgetItems(BudgetItem budgetItem)
 {
     base.AddObject("BudgetItems", budgetItem);
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the BudgetItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBudgetItems(BudgetItem budgetItem)
 {
     base.AddObject("BudgetItems", budgetItem);
 }