public void Insert(long PaymentID, long TestID) { var item = new TblPaymentDetail(); item.PaymentID = PaymentID; item.TestID = TestID; item.Save(UserName); }
public void Update(long PaymentID, long TestID) { var item = new TblPaymentDetail(); item.MarkOld(); item.IsLoaded = true; item.PaymentID = PaymentID; item.TestID = TestID; item.Save(UserName); }
public bool Destroy(object PaymentID) { return(TblPaymentDetail.Destroy(PaymentID) == 1); }
public bool Delete(object PaymentID) { return(TblPaymentDetail.Delete(PaymentID) == 1); }