public void Insert(short TestStatusId, string TestStatusName, bool?InUse) { var item = new LTestStatus(); item.TestStatusId = TestStatusId; item.TestStatusName = TestStatusName; item.InUse = InUse; item.Save(UserName); }
public void Update(short TestStatusId, string TestStatusName, bool?InUse) { var item = new LTestStatus(); item.MarkOld(); item.IsLoaded = true; item.TestStatusId = TestStatusId; item.TestStatusName = TestStatusName; item.InUse = InUse; item.Save(UserName); }