예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ClaimExpenses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToClaimExpenses(ClaimExpense claimExpense)
 {
     base.AddObject("ClaimExpenses", claimExpense);
 }
예제 #2
0
 /// <summary>
 /// Create a new ClaimExpense object.
 /// </summary>
 /// <param name="claimExpenseID">Initial value of the ClaimExpenseID property.</param>
 /// <param name="claimID">Initial value of the ClaimID property.</param>
 /// <param name="expenseTypeID">Initial value of the ExpenseTypeID property.</param>
 /// <param name="expenseDescription">Initial value of the ExpenseDescription property.</param>
 /// <param name="expenseAmount">Initial value of the ExpenseAmount property.</param>
 /// <param name="isReimbursable">Initial value of the IsReimbursable property.</param>
 public static ClaimExpense CreateClaimExpense(global::System.Int32 claimExpenseID, global::System.Int32 claimID, global::System.Int32 expenseTypeID, global::System.String expenseDescription, global::System.Decimal expenseAmount, global::System.Boolean isReimbursable)
 {
     ClaimExpense claimExpense = new ClaimExpense();
     claimExpense.ClaimExpenseID = claimExpenseID;
     claimExpense.ClaimID = claimID;
     claimExpense.ExpenseTypeID = expenseTypeID;
     claimExpense.ExpenseDescription = expenseDescription;
     claimExpense.ExpenseAmount = expenseAmount;
     claimExpense.IsReimbursable = isReimbursable;
     return claimExpense;
 }