예제 #1
0
        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);
        }
예제 #2
0
        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);
        }
예제 #3
0
 public bool Destroy(object TestGroupId)
 {
     return(TTestgroupList.Destroy(TestGroupId) == 1);
 }
예제 #4
0
 public bool Delete(object TestGroupId)
 {
     return(TTestgroupList.Delete(TestGroupId) == 1);
 }