Esempio n. 1
0
        public void Insert(string TestTypeName, string Note, short?IntOrder, short?PrintDetail, decimal?Price, string Abbreviation)
        {
            TTestTypeList item = new TTestTypeList();

            item.TestTypeName = TestTypeName;

            item.Note = Note;

            item.IntOrder = IntOrder;

            item.PrintDetail = PrintDetail;

            item.Price = Price;

            item.Abbreviation = Abbreviation;


            item.Save(UserName);
        }
Esempio n. 2
0
        public void Update(int TestTypeId, string TestTypeName, string Note, short?IntOrder, short?PrintDetail, decimal?Price, string Abbreviation)
        {
            TTestTypeList item = new TTestTypeList();

            item.MarkOld();
            item.IsLoaded = true;

            item.TestTypeId = TestTypeId;

            item.TestTypeName = TestTypeName;

            item.Note = Note;

            item.IntOrder = IntOrder;

            item.PrintDetail = PrintDetail;

            item.Price = Price;

            item.Abbreviation = Abbreviation;

            item.Save(UserName);
        }