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);
        }
        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);
        }