示例#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);
 }