public void Insert(long RegID, short TestID, decimal FPrice, short?NTime)
        {
            var item = new TblRegServiceDetail();

            item.RegID = RegID;

            item.TestID = TestID;

            item.FPrice = FPrice;

            item.NTime = NTime;


            item.Save(UserName);
        }
        public void Update(long RegID, short TestID, decimal FPrice, short?NTime)
        {
            var item = new TblRegServiceDetail();

            item.MarkOld();
            item.IsLoaded = true;

            item.RegID = RegID;

            item.TestID = TestID;

            item.FPrice = FPrice;

            item.NTime = NTime;

            item.Save(UserName);
        }
 public bool Destroy(object RegID)
 {
     return(TblRegServiceDetail.Destroy(RegID) == 1);
 }
 public bool Delete(object RegID)
 {
     return(TblRegServiceDetail.Delete(RegID) == 1);
 }