Example #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);
        }
Example #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);
        }
Example #3
0
 public bool Destroy(object Id)
 {
     return(BangGium.Destroy(Id) == 1);
 }
Example #4
0
 public bool Delete(object Id)
 {
     return(BangGium.Delete(Id) == 1);
 }