Example #1
0
        public void Insert(long IdBenhnhan, string MaLuotkham, string MaLoaidvuTiemchung, DateTime NgayTao, string NguoiTao)
        {
            KcbPhieuhenTiemchung item = new KcbPhieuhenTiemchung();

            item.IdBenhnhan = IdBenhnhan;

            item.MaLuotkham = MaLuotkham;

            item.MaLoaidvuTiemchung = MaLoaidvuTiemchung;

            item.NgayTao = NgayTao;

            item.NguoiTao = NguoiTao;


            item.Save(UserName);
        }
Example #2
0
        public void Update(long Id, long IdBenhnhan, string MaLuotkham, string MaLoaidvuTiemchung, DateTime NgayTao, string NguoiTao)
        {
            KcbPhieuhenTiemchung item = new KcbPhieuhenTiemchung();

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

            item.Id = Id;

            item.IdBenhnhan = IdBenhnhan;

            item.MaLuotkham = MaLuotkham;

            item.MaLoaidvuTiemchung = MaLoaidvuTiemchung;

            item.NgayTao = NgayTao;

            item.NguoiTao = NguoiTao;

            item.Save(UserName);
        }
Example #3
0
 public bool Destroy(object Id)
 {
     return(KcbPhieuhenTiemchung.Destroy(Id) == 1);
 }
Example #4
0
 public bool Delete(object Id)
 {
     return(KcbPhieuhenTiemchung.Delete(Id) == 1);
 }