Example #1
0
        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);
        }
Example #2
0
 public bool Destroy(object RegID)
 {
     return(TblRegService.Destroy(RegID) == 1);
 }
Example #3
0
 public bool Delete(object RegID)
 {
     return(TblRegService.Delete(RegID) == 1);
 }