Beispiel #1
0
 public bool Delete(object IdPhieudieutri)
 {
     return(NoitruPhieudieutri.Delete(IdPhieudieutri) == 1);
 }
Beispiel #2
0
        public void Update(long IdPhieudieutri, string MaLuotkham, long?IdBenhnhan, short?IdBacsi, long?IdBuongGiuong, int?IdBuong, int?IdGiuong, short?IdKhoanoitru, string Thu, string ThongtinTheodoi, string ThongtinDieutri, DateTime?NgayDieutri, string GioDieutri, byte?TthaiBosung, byte?TthaiIn, byte?TrangThai, int?IdGoi, byte?TrongGoi, DateTime?NgayTao, string NguoiTao, DateTime?NgaySua, string NguoiSua, string IpMaytao, string IpMaysua, string TenMaytao, string TenMaysua)
        {
            NoitruPhieudieutri item = new NoitruPhieudieutri();

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

            item.IdPhieudieutri = IdPhieudieutri;

            item.MaLuotkham = MaLuotkham;

            item.IdBenhnhan = IdBenhnhan;

            item.IdBacsi = IdBacsi;

            item.IdBuongGiuong = IdBuongGiuong;

            item.IdBuong = IdBuong;

            item.IdGiuong = IdGiuong;

            item.IdKhoanoitru = IdKhoanoitru;

            item.Thu = Thu;

            item.ThongtinTheodoi = ThongtinTheodoi;

            item.ThongtinDieutri = ThongtinDieutri;

            item.NgayDieutri = NgayDieutri;

            item.GioDieutri = GioDieutri;

            item.TthaiBosung = TthaiBosung;

            item.TthaiIn = TthaiIn;

            item.TrangThai = TrangThai;

            item.IdGoi = IdGoi;

            item.TrongGoi = TrongGoi;

            item.NgayTao = NgayTao;

            item.NguoiTao = NguoiTao;

            item.NgaySua = NgaySua;

            item.NguoiSua = NguoiSua;

            item.IpMaytao = IpMaytao;

            item.IpMaysua = IpMaysua;

            item.TenMaytao = TenMaytao;

            item.TenMaysua = TenMaysua;

            item.Save(UserName);
        }