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); }