public void Update(long RegID, long PatientID, DateTime TestDate, string RegNo, short ServiceType, short RegType, short?NTime, decimal?TotalMoney, string SDesc) { var item = new TblRegService(); item.MarkOld(); item.IsLoaded = true; item.RegID = RegID; item.PatientID = PatientID; item.TestDate = TestDate; item.RegNo = RegNo; item.ServiceType = ServiceType; item.RegType = RegType; item.NTime = NTime; item.TotalMoney = TotalMoney; item.SDesc = SDesc; item.Save(UserName); }
public bool Destroy(object RegID) { return(TblRegService.Destroy(RegID) == 1); }
public bool Delete(object RegID) { return(TblRegService.Delete(RegID) == 1); }