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