Beispiel #1
0
        public void Update(long IdChitiet, int IdCapphat, int IdDonthuoc, int IdChitietdonthuoc, DateTime?NgayKedon, long?IdBenhnhan, string MaLuotkham, short?DaLinh, int SoLuong, int?ThucLinh, int?SoLuongtralai, int IdThuoc, int IdKho, long?IdThuockho, long?IdPhieuxuatthuocBenhnhan, string NguoiSua, DateTime?NgaySua, long?IdPhieutralai, byte?TrangthaiTralai)
        {
            TPhieuCapphatChitiet item = new TPhieuCapphatChitiet();

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

            item.IdChitiet = IdChitiet;

            item.IdCapphat = IdCapphat;

            item.IdDonthuoc = IdDonthuoc;

            item.IdChitietdonthuoc = IdChitietdonthuoc;

            item.NgayKedon = NgayKedon;

            item.IdBenhnhan = IdBenhnhan;

            item.MaLuotkham = MaLuotkham;

            item.DaLinh = DaLinh;

            item.SoLuong = SoLuong;

            item.ThucLinh = ThucLinh;

            item.SoLuongtralai = SoLuongtralai;

            item.IdThuoc = IdThuoc;

            item.IdKho = IdKho;

            item.IdThuockho = IdThuockho;

            item.IdPhieuxuatthuocBenhnhan = IdPhieuxuatthuocBenhnhan;

            item.NguoiSua = NguoiSua;

            item.NgaySua = NgaySua;

            item.IdPhieutralai = IdPhieutralai;

            item.TrangthaiTralai = TrangthaiTralai;

            item.Save(UserName);
        }
Beispiel #2
0
 public bool Destroy(object IdChitiet)
 {
     return(TPhieuCapphatChitiet.Destroy(IdChitiet) == 1);
 }
Beispiel #3
0
 public bool Delete(object IdChitiet)
 {
     return(TPhieuCapphatChitiet.Delete(IdChitiet) == 1);
 }