public void Insert(string TestGroupName, string Description, decimal?DeviceId, int?TestTypeId, short?TestGroupOrder) { TTestgroupList item = new TTestgroupList(); item.TestGroupName = TestGroupName; item.Description = Description; item.DeviceId = DeviceId; item.TestTypeId = TestTypeId; item.TestGroupOrder = TestGroupOrder; item.Save(UserName); }
public void Update(int TestGroupId, string TestGroupName, string Description, decimal?DeviceId, int?TestTypeId, short?TestGroupOrder) { TTestgroupList item = new TTestgroupList(); item.MarkOld(); item.IsLoaded = true; item.TestGroupId = TestGroupId; item.TestGroupName = TestGroupName; item.Description = Description; item.DeviceId = DeviceId; item.TestTypeId = TestTypeId; item.TestGroupOrder = TestGroupOrder; item.Save(UserName); }
public bool Destroy(object TestGroupId) { return(TTestgroupList.Destroy(TestGroupId) == 1); }
public bool Delete(object TestGroupId) { return(TTestgroupList.Delete(TestGroupId) == 1); }