示例#1
0
        public void Insert(int TestTypeId, string TestDataId, decimal Price)
        {
            BangGium item = new BangGium();

            item.TestTypeId = TestTypeId;

            item.TestDataId = TestDataId;

            item.Price = Price;


            item.Save(UserName);
        }
示例#2
0
        public void Update(int Id, int TestTypeId, string TestDataId, decimal Price)
        {
            BangGium item = new BangGium();

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

            item.Id = Id;

            item.TestTypeId = TestTypeId;

            item.TestDataId = TestDataId;

            item.Price = Price;

            item.Save(UserName);
        }
示例#3
0
 public bool Destroy(object Id)
 {
     return(BangGium.Destroy(Id) == 1);
 }
示例#4
0
 public bool Delete(object Id)
 {
     return(BangGium.Delete(Id) == 1);
 }