Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }