Example #1
0
        public void Update(int IdPhieu, int IdPhieuXuat, int IdThuoc, int SoLuong, decimal DonGia, decimal PhuThu, decimal BnhanChitra, decimal BhytChitra, int?PtramBhyt, string ChiDan, string CachDung, string ChidanThem, string SolanDung, string SoluongDung, DateTime?NgayTao, string NguoiTao, int?IdChitietdonthuoc, int?IdDonthuoc)
        {
            TXuatthuocTheodon item = new TXuatthuocTheodon();

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

            item.IdPhieu = IdPhieu;

            item.IdPhieuXuat = IdPhieuXuat;

            item.IdThuoc = IdThuoc;

            item.SoLuong = SoLuong;

            item.DonGia = DonGia;

            item.PhuThu = PhuThu;

            item.BnhanChitra = BnhanChitra;

            item.BhytChitra = BhytChitra;

            item.PtramBhyt = PtramBhyt;

            item.ChiDan = ChiDan;

            item.CachDung = CachDung;

            item.ChidanThem = ChidanThem;

            item.SolanDung = SolanDung;

            item.SoluongDung = SoluongDung;

            item.NgayTao = NgayTao;

            item.NguoiTao = NguoiTao;

            item.IdChitietdonthuoc = IdChitietdonthuoc;

            item.IdDonthuoc = IdDonthuoc;

            item.Save(UserName);
        }
Example #2
0
 public bool Destroy(object IdPhieu)
 {
     return(TXuatthuocTheodon.Destroy(IdPhieu) == 1);
 }
Example #3
0
 public bool Delete(object IdPhieu)
 {
     return(TXuatthuocTheodon.Delete(IdPhieu) == 1);
 }