/// <summary>
 /// Deprecated Method for adding a new object to the Expenses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToExpenses(Expense expense)
 {
     base.AddObject("Expenses", expense);
 }
 /// <summary>
 /// Create a new Expense object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="expenseDate">Initial value of the ExpenseDate property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="amount">Initial value of the Amount property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Expense CreateExpense(global::System.Int32 id, global::System.DateTime expenseDate, global::System.String title, global::System.Double amount, global::System.Byte[] rowVersion)
 {
     Expense expense = new Expense();
     expense.Id = id;
     expense.ExpenseDate = expenseDate;
     expense.Title = title;
     expense.Amount = amount;
     expense.RowVersion = rowVersion;
     return expense;
 }