Exemple #1
0
        public void Insert(long IdHieuchinh, int IdDonthuoc, int IdChitietDonthuoc, int IdThuoc, int SoluongCu, int SoluongMoi)
        {
            TLichsuHieuchinhDonthuocChitiet item = new TLichsuHieuchinhDonthuocChitiet();

            item.IdHieuchinh = IdHieuchinh;

            item.IdDonthuoc = IdDonthuoc;

            item.IdChitietDonthuoc = IdChitietDonthuoc;

            item.IdThuoc = IdThuoc;

            item.SoluongCu = SoluongCu;

            item.SoluongMoi = SoluongMoi;


            item.Save(UserName);
        }
Exemple #2
0
        public void Update(long IdHieuchinh, int IdDonthuoc, int IdChitietDonthuoc, int IdThuoc, int SoluongCu, int SoluongMoi)
        {
            TLichsuHieuchinhDonthuocChitiet item = new TLichsuHieuchinhDonthuocChitiet();

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

            item.IdHieuchinh = IdHieuchinh;

            item.IdDonthuoc = IdDonthuoc;

            item.IdChitietDonthuoc = IdChitietDonthuoc;

            item.IdThuoc = IdThuoc;

            item.SoluongCu = SoluongCu;

            item.SoluongMoi = SoluongMoi;

            item.Save(UserName);
        }
Exemple #3
0
 public bool Destroy(object IdHieuchinh)
 {
     return(TLichsuHieuchinhDonthuocChitiet.Destroy(IdHieuchinh) == 1);
 }