public void Insert(long PaymentID, long TestID) { TblPaymentDetail item = new TblPaymentDetail(); item.PaymentID = PaymentID; item.TestID = TestID; item.Save(UserName); }
public void Update(long PaymentID, long TestID) { TblPaymentDetail item = new TblPaymentDetail(); item.MarkOld(); item.IsLoaded = true; item.PaymentID = PaymentID; item.TestID = TestID; item.Save(UserName); }