public void Insert(int CurrencySender,int CurrencyReceiver,DateTime TimeToDelivery) { PaymentSchedule item = new PaymentSchedule(); item.CurrencySender = CurrencySender; item.CurrencyReceiver = CurrencyReceiver; item.TimeToDelivery = TimeToDelivery; item.Save(UserName); }
public void Update(int PaymentScheduleKey,int CurrencySender,int CurrencyReceiver,DateTime TimeToDelivery) { PaymentSchedule item = new PaymentSchedule(); item.MarkOld(); item.IsLoaded = true; item.PaymentScheduleKey = PaymentScheduleKey; item.CurrencySender = CurrencySender; item.CurrencyReceiver = CurrencyReceiver; item.TimeToDelivery = TimeToDelivery; item.Save(UserName); }