/// <summary> /// Create a new ExpenseGroup object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="creationDate">Initial value of the CreationDate property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> public static ExpenseGroup CreateExpenseGroup(global::System.Int32 id, global::System.String name, global::System.DateTime creationDate, global::System.Boolean isDeleted) { ExpenseGroup expenseGroup = new ExpenseGroup(); expenseGroup.Id = id; expenseGroup.Name = name; expenseGroup.CreationDate = creationDate; expenseGroup.IsDeleted = isDeleted; return(expenseGroup); }
/// <summary> /// Deprecated Method for adding a new object to the TblExpenseGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTblExpenseGroups(ExpenseGroup expenseGroup) { base.AddObject("TblExpenseGroups", expenseGroup); }