/// <summary> /// Create a new ATMWithdrawal object. /// </summary> /// <param name="withdrawalId">Initial value of the WithdrawalId property.</param> /// <param name="amount">Initial value of the Amount property.</param> /// <param name="date">Initial value of the Date property.</param> /// <param name="aTMId">Initial value of the ATMId property.</param> public static ATMWithdrawal CreateATMWithdrawal(global::System.Int32 withdrawalId, global::System.Decimal amount, global::System.DateTime date, global::System.Int32 aTMId) { ATMWithdrawal aTMWithdrawal = new ATMWithdrawal(); aTMWithdrawal.WithdrawalId = withdrawalId; aTMWithdrawal.Amount = amount; aTMWithdrawal.Date = date; aTMWithdrawal.ATMId = aTMId; return(aTMWithdrawal); }
/// <summary> /// Deprecated Method for adding a new object to the ATMWithdrawals EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToATMWithdrawals(ATMWithdrawal aTMWithdrawal) { base.AddObject("ATMWithdrawals", aTMWithdrawal); }