예제 #1
0
        /// <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);
        }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TblExpenseGroups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTblExpenseGroups(ExpenseGroup expenseGroup)
 {
     base.AddObject("TblExpenseGroups", expenseGroup);
 }