/// <summary> /// Deprecated Method for adding a new object to the PaymentSchedules EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPaymentSchedules(PaymentSchedule paymentSchedule) { base.AddObject("PaymentSchedules", paymentSchedule); }
/// <summary> /// Deprecated Method for adding a new object to the PaymentSchedules EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPaymentSchedules(PaymentSchedule paymentSchedule) { base.AddObject("PaymentSchedules", paymentSchedule); }
/// <summary> /// Create a new PaymentSchedule object. /// </summary> /// <param name="scheduleID">Initial value of the ScheduleID property.</param> /// <param name="userID">Initial value of the UserID property.</param> /// <param name="scheduleDate">Initial value of the ScheduleDate property.</param> /// <param name="schedulePercent">Initial value of the SchedulePercent property.</param> /// <param name="bookedDate">Initial value of the BookedDate property.</param> /// <param name="bookingAmount">Initial value of the BookingAmount property.</param> /// <param name="scheduleAmount">Initial value of the ScheduleAmount property.</param> /// <param name="remainingAmount">Initial value of the RemainingAmount property.</param> public static PaymentSchedule CreatePaymentSchedule(global::System.Guid scheduleID, global::System.String userID, global::System.DateTime scheduleDate, global::System.Int32 schedulePercent, global::System.DateTime bookedDate, global::System.Decimal bookingAmount, global::System.Decimal scheduleAmount, global::System.Decimal remainingAmount) { PaymentSchedule paymentSchedule = new PaymentSchedule(); paymentSchedule.ScheduleID = scheduleID; paymentSchedule.UserID = userID; paymentSchedule.ScheduleDate = scheduleDate; paymentSchedule.SchedulePercent = schedulePercent; paymentSchedule.BookedDate = bookedDate; paymentSchedule.BookingAmount = bookingAmount; paymentSchedule.ScheduleAmount = scheduleAmount; paymentSchedule.RemainingAmount = remainingAmount; return paymentSchedule; }